summaryrefslogtreecommitdiff
path: root/tests/dd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dd')
-rwxr-xr-xtests/dd/reblock4
-rwxr-xr-xtests/dd/unblock-sync2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/dd/reblock b/tests/dd/reblock
index 558d729e1..59e61fa27 100755
--- a/tests/dd/reblock
+++ b/tests/dd/reblock
@@ -50,7 +50,7 @@ dd_reblock_1()
(printf 'ab'; sleep $delay; printf 'cd') > dd.fifo
wait #for dd to complete
sed 's/,.*//' err > k && mv k err
- compare err exp-reblock
+ compare exp-reblock err
}
retry_delay_ dd_reblock_1 .1 6 || fail=1
@@ -64,7 +64,7 @@ dd_reblock_2()
(printf 'ab'; sleep $delay; printf 'cd') > dd.fifo
wait #for dd to complete
sed 's/,.*//' err > k && mv k err
- compare err exp-no-reblock
+ compare exp-no-reblock err
}
retry_delay_ dd_reblock_2 .1 6 || fail=1
diff --git a/tests/dd/unblock-sync b/tests/dd/unblock-sync
index a6fd4a52c..f9e01e041 100755
--- a/tests/dd/unblock-sync
+++ b/tests/dd/unblock-sync
@@ -30,6 +30,6 @@ cat <<\EOF > exp || fail=1
xx
EOF
-compare out exp || fail=1
+compare exp out || fail=1
Exit $fail