Re: [Qemu-devel] [PATCH 1/2] qemu-iotests: Fix call syntax for qemu-img

2012-04-05 Thread Kevin Wolf
Am 14.03.2012 19:57, schrieb Stefan Weil: > qemu-img requires first options, then file name, then size. > > GNU getopt also allows options at the end, but POSIX getopt > doesn't. Try "export POSIXLY_CORRECT=y" to get the POSIX > behaviour with GNU getopt, too. > > Cc: Kevin Wolf > Signed-off-by:

Re: [Qemu-devel] [PATCH 1/2] qemu-iotests: Fix call syntax for qemu-img

2012-03-28 Thread Stefan Hajnoczi
On Tue, Mar 27, 2012 at 9:56 PM, Stefan Weil wrote: > Am 14.03.2012 21:48, schrieb Stefan Weil: > >> Am 14.03.2012 20:08, schrieb Eric Blake: >>> >>> On 03/14/2012 12:57 PM, Stefan Weil wrote: qemu-img requires first options, then file name, then size. GNU getopt also allows op

Re: [Qemu-devel] [PATCH 1/2] qemu-iotests: Fix call syntax for qemu-img

2012-03-27 Thread Stefan Weil
Am 14.03.2012 21:48, schrieb Stefan Weil: Am 14.03.2012 20:08, schrieb Eric Blake: On 03/14/2012 12:57 PM, Stefan Weil wrote: qemu-img requires first options, then file name, then size. GNU getopt also allows options at the end, but POSIX getopt doesn't. Try "export POSIXLY_CORRECT=y" to get t

Re: [Qemu-devel] [PATCH 1/2] qemu-iotests: Fix call syntax for qemu-img

2012-03-14 Thread Stefan Weil
Am 14.03.2012 20:08, schrieb Eric Blake: On 03/14/2012 12:57 PM, Stefan Weil wrote: qemu-img requires first options, then file name, then size. GNU getopt also allows options at the end, but POSIX getopt doesn't. Try "export POSIXLY_CORRECT=y" to get the POSIX behaviour with GNU getopt, too.

Re: [Qemu-devel] [PATCH 1/2] qemu-iotests: Fix call syntax for qemu-img

2012-03-14 Thread Eric Blake
On 03/14/2012 12:57 PM, Stefan Weil wrote: > qemu-img requires first options, then file name, then size. > > GNU getopt also allows options at the end, but POSIX getopt > doesn't. Try "export POSIXLY_CORRECT=y" to get the POSIX > behaviour with GNU getopt, too. That's a heavy sledgehammer, that h

[Qemu-devel] [PATCH 1/2] qemu-iotests: Fix call syntax for qemu-img

2012-03-14 Thread Stefan Weil
qemu-img requires first options, then file name, then size. GNU getopt also allows options at the end, but POSIX getopt doesn't. Try "export POSIXLY_CORRECT=y" to get the POSIX behaviour with GNU getopt, too. Cc: Kevin Wolf Signed-off-by: Stefan Weil --- tests/qemu-iotests/common.rc |9 +++