Merge lp:~logan/ubuntu-packaging-guide/qemu-syntax into lp:ubuntu-packaging-guide

Proposed by Logan Rosen
Status: Merged
Merged at revision: 693
Proposed branch: lp:~logan/ubuntu-packaging-guide/qemu-syntax
Merge into: lp:ubuntu-packaging-guide
Diff against target: 24 lines (+3/-3)
1 file modified
ubuntu-packaging-guide/auto-pkg-test.rst (+3/-3)
To merge this branch: bzr merge lp:~logan/ubuntu-packaging-guide/qemu-syntax
Reviewer Review Type Date Requested Status
Dmitry Shachnev Approve
Review via email: mp+379261@code.launchpad.net

Description of the change

QEMU spits out a warning when you try to use --- to separate the virtual server arguments. The correct syntax to use now is --.

To post a comment you must log in.
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Actually this is autopkgtest syntax, not QEMU syntax. It looks like the change was made in:

autopkgtest (4.0) unstable; urgency=medium

  * Add new "autopkgtest" CLI. This provides a simplified CLI compared to the
    now deprecated adt-run:
    [...]
    - The virtualization server is now separated with a double instead of a
      tripe dash, as the former is standard Unix syntax.

But thanks for this fix anyway!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubuntu-packaging-guide/auto-pkg-test.rst'
2--- ubuntu-packaging-guide/auto-pkg-test.rst 2019-08-03 18:22:35 +0000
3+++ ubuntu-packaging-guide/auto-pkg-test.rst 2020-02-16 22:45:59 +0000
4@@ -109,17 +109,17 @@
5
6 Then run the tests of a source package like ``libpng`` in that QEMU image::
7
8- autopkgtest libpng --- qemu adt-trusty-amd64-cloud.img
9+ autopkgtest libpng -- qemu adt-trusty-amd64-cloud.img
10
11 The Ubuntu CI system runs packages with only selected packages from
12 ``-proposed`` available (the package which caused the test to be run); to
13 enable that, run::
14
15- autopkgtest libpng -U --apt-pocket=proposed=src:foo --- qemu adt-release-amd64-cloud.img
16+ autopkgtest libpng -U --apt-pocket=proposed=src:foo -- qemu adt-release-amd64-cloud.img
17
18 or to run with all packages from ``-proposed``::
19
20- autopkgtest libpng -U --apt-pocket=proposed --- qemu adt-release-amd64-cloud.img
21+ autopkgtest libpng -U --apt-pocket=proposed -- qemu adt-release-amd64-cloud.img
22
23 The ``autopkgtest`` manpage has a lot more valuable information on other
24 testing options.

Subscribers

People subscribed via source and target branches