projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77f80f7
)
Check for "dd --".
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 19 Sep 2004 01:45:48 +0000
(
01:45
+0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 19 Sep 2004 01:45:48 +0000
(
01:45
+0000)
tests/dd/misc
patch
|
blob
|
history
diff --git
a/tests/dd/misc
b/tests/dd/misc
index 1100f110ad5be0249831f2a3495afd4c7ed73ba0..436db47bdfcf3bc28d90c61b3e9f683d4e899d58 100755
(executable)
--- 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