From 30edd9fa50e86fbf40c780bf47d7cb214e6f8438 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 23 Jul 2019 13:12:01 +0200 Subject: tests/qemu-iotests: Don't use 'seq' in the iotests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'seq' command is not available by default on OpenBSD, so these iotests are currently failing there. It could be installed as 'gseq' from the coreutils package - but since it is using a different name there and we are running the iotests with the "bash" shell anyway, let's simply use the built-in double parentheses for the for-loops instead. Signed-off-by: Thomas Huth Message-Id: <20190723111201.1926-1-thuth@redhat.com> Signed-off-by: Alex Bennée --- tests/qemu-iotests/011 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/qemu-iotests/011') diff --git a/tests/qemu-iotests/011 b/tests/qemu-iotests/011 index 8b1fce0..56f704b 100755 --- a/tests/qemu-iotests/011 +++ b/tests/qemu-iotests/011 @@ -49,7 +49,7 @@ _make_test_img $size echo echo "overlapping I/O" -for i in `seq 1 10`; do +for ((i=1;i<=10;i++)); do let mb=1024*1024 let off1=$i*$mb let off2=$off1+512 -- cgit v1.1