diff options
author | Max Reitz <mreitz@redhat.com> | 2019-12-18 11:48:55 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-12-19 13:23:58 +0100 |
commit | eb4ea9aaa0051054b3c148ad8631be7510851681 (patch) | |
tree | 3271204f906e0ddb92cc9894071e2b35eee452ce | |
parent | d6f2c0b5a27f2a7e249ad6202fe88756c053ac0a (diff) | |
download | qemu-eb4ea9aaa0051054b3c148ad8631be7510851681.zip qemu-eb4ea9aaa0051054b3c148ad8631be7510851681.tar.gz qemu-eb4ea9aaa0051054b3c148ad8631be7510851681.tar.bz2 |
iotests: Fix IMGOPTSSYNTAX for nbd
There is no $SOCKDIR, only $SOCK_DIR.
Fixes: f3923a72f199b2c63747a7032db74730546f55c6
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r-- | tests/qemu-iotests/common.rc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index 6f0582c..555c453 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -217,7 +217,8 @@ if [ "$IMGOPTSSYNTAX" = "true" ]; then TEST_IMG="$DRIVER,file.filename=$TEST_DIR/t.$IMGFMT" elif [ "$IMGPROTO" = "nbd" ]; then TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT - TEST_IMG="$DRIVER,file.driver=nbd,file.type=unix,file.path=$SOCKDIR/nbd" + TEST_IMG="$DRIVER,file.driver=nbd,file.type=unix" + TEST_IMG="$TEST_IMG,file.path=$SOCK_DIR/nbd" elif [ "$IMGPROTO" = "ssh" ]; then TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT TEST_IMG="$DRIVER,file.driver=ssh,file.host=127.0.0.1,file.path=$TEST_IMG_FILE" |