summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-09-19 01:45:48 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-09-19 01:45:48 +0000
commit379580a006a405c9749ba5783efe78f6f92fd2ce (patch)
treea18f35d363778d2060f6b2894c1dbbec86c41173 /tests
parent77f80f747ea77c8474eb3a2ef3455b7703211ddc (diff)
downloadcoreutils-379580a006a405c9749ba5783efe78f6f92fd2ce.tar.xz
Check for "dd --".
Diffstat (limited to 'tests')
-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