aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/common.filter
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/common.filter')
-rw-r--r--tests/qemu-iotests/common.filter8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/qemu-iotests/common.filter b/tests/qemu-iotests/common.filter
index da55f545a5..da77ede25f 100644
--- a/tests/qemu-iotests/common.filter
+++ b/tests/qemu-iotests/common.filter
@@ -128,12 +128,18 @@ _filter_date()
-e 's/[A-Z][a-z][a-z] [A-z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]$/DATE/'
}
-# replace occurances of the actual TEST_DIR value with TEST_DIR
+# replace occurrences of the actual TEST_DIR value with TEST_DIR
_filter_testdir()
{
sed -e "s#$TEST_DIR#TEST_DIR#g"
}
+# replace occurrences of the actual IMGFMT value with IMGFMT
+_filter_imgfmt()
+{
+ sed -e "s#$IMGFMT#IMGFMT#g"
+}
+
# sanitize qemu-io output
_filter_qemu_io()
{