summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/dd/misc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dd/misc b/tests/dd/misc
index 1100f110a..436db47bd 100755
--- a/tests/dd/misc
+++ b/tests/dd/misc
@@ -18,6 +18,10 @@ fi
dd if=$tmp_in of=$tmp_out > /dev/null 2>&1 || fail=1
cmp $tmp_in $tmp_out || fail=1
+rm $tmp_out
+dd -- if=$tmp_in of=$tmp_out > /dev/null 2>&1 || fail=1
+cmp $tmp_in $tmp_out || fail=1
+
rm -f $tmp_in $tmp_out
exit $fail