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:
f5e968f
)
*** empty log message ***
author
Jim Meyering
<jim@meyering.net>
Thu, 27 Apr 2000 12:12:42 +0000
(12:12 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 27 Apr 2000 12:12:42 +0000
(12:12 +0000)
tests/du/two-args
[new file with mode: 0755]
patch
|
blob
diff --git a/tests/du/two-args
b/tests/du/two-args
new file mode 100755
(executable)
index 0000000..
dbb60a9
--- /dev/null
+++ b/
tests/du/two-args
@@ -0,0
+1,18
@@
+#!/bin/sh
+# make sure du d/1 d/2 works
+
+if test "$VERBOSE" = yes; then
+ set -x
+ du --version
+fi
+
+tmp=du2-$$
+trap 'status=$?; rm -rf $tmp && exit $status' 0
+trap 'exit $?' 1 2 13 15
+
+mkdir -p $tmp/1 $tmp/2
+
+test -d $tmp || fail=1
+du $tmp/1 $tmp/2
+
+exit $fail