tests/qemu-iotests: Fix check for existing file in _require_disk_usage()
Looks like the "$" has been forgotten here to get the contents of
the FILENAME variable.
Fixes: c49dda7254 ("iotests: Filter out ZFS in several tests")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20251208075320.35682-1-thuth@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
9c23f2a7b0
commit
ab0065e36a
1 changed files with 1 additions and 1 deletions
|
|
@ -1008,7 +1008,7 @@ _require_disk_usage()
|
||||||
else
|
else
|
||||||
FILENAME="$TEST_IMG_FILE"
|
FILENAME="$TEST_IMG_FILE"
|
||||||
fi
|
fi
|
||||||
if [ -e "FILENAME" ]; then
|
if [ -e "$FILENAME" ]; then
|
||||||
echo "unwilling to overwrite existing file"
|
echo "unwilling to overwrite existing file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue