aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/179
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/179')
-rwxr-xr-xtests/qemu-iotests/1798
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/qemu-iotests/179 b/tests/qemu-iotests/179
index 115944a753..09447b5610 100755
--- a/tests/qemu-iotests/179
+++ b/tests/qemu-iotests/179
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
+# group: rw auto quick
#
# Test case for write zeroes with unmap
#
@@ -24,7 +25,6 @@ owner=eblake@redhat.com
seq="$(basename $0)"
echo "QA output created by $seq"
-here="$PWD"
status=1 # failure is the default!
_cleanup()
@@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow2
-_supported_proto file
+_supported_proto file fuse
_supported_os Linux
# v2 images can't mark clusters as zero
@@ -50,7 +50,7 @@ echo '=== Testing write zeroes with unmap ==='
echo
TEST_IMG="$TEST_IMG.base" _make_test_img 64M
-_make_test_img -b "$TEST_IMG.base"
+_make_test_img -b "$TEST_IMG.base" -F $IMGFMT
# Offsets chosen at or near 2M boundaries so test works at all cluster sizes
# 8k and larger (smaller clusters fail due to non-contiguous allocations)