aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/049
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/049')
-rwxr-xr-xtests/qemu-iotests/0494
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/049 b/tests/qemu-iotests/049
index 4d0ad5cd50..97d8a64697 100755
--- a/tests/qemu-iotests/049
+++ b/tests/qemu-iotests/049
@@ -40,13 +40,13 @@ _supported_fmt qcow2
_supported_proto file
_supported_os Linux
-function filter_test_dir()
+filter_test_dir()
{
sed -e "s#$IMGPROTO:$TEST_DIR#TEST_DIR#g" \
-e "s#$TEST_DIR#TEST_DIR#g"
}
-function test_qemu_img()
+test_qemu_img()
{
echo qemu-img "$@" | filter_test_dir
$QEMU_IMG "$@" 2>&1 | filter_test_dir