-#!/bin/sh
+#!/bin/bash
#
# Test handling of invalid patterns arguments to qemu-io
#
. ./common.filter
_supported_fmt generic
+_supported_proto generic
_supported_os Linux
for op in $TEST_OPS; do
echo
echo "== testing $op -P $pattern =="
- $QEMU_IO -c "$op -P $pattern 0 4096" $TEST_IMG | _filter_qemu_io
+ $QEMU_IO -c "$op -P $pattern 0 4096" "$TEST_IMG" | _filter_qemu_io
done
done