qemu-iotests: Fix call syntax for qemu-io
commit28d3d1658a3692f9c34c3ecce14941faa1d2fe92
authorStefan Weil <sw@weilnetz.de>
Wed, 14 Mar 2012 18:57:24 +0000 (14 19:57 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Apr 2012 13:10:06 +0000 (5 15:10 +0200)
tree0344637a6645c69a9d070ffa1cb3facf0594dcf0
parent21af81488799e2290cb2e58eb2a91d1d8044ebc4
qemu-iotests: Fix call syntax for qemu-io

qemu-io requires options first, then fixed parameters.

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 <kwolf@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/009
tests/qemu-iotests/010
tests/qemu-iotests/011