diff options
author | Jim Meyering <jim@meyering.net> | 2000-11-06 20:53:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-11-06 20:53:58 +0000 |
commit | 1a6f58ae674eb669f43887286887bd5ba6b685ed (patch) | |
tree | 23c0907986a2e666610a2daa89d4b95188c7f498 /tests/cp/cp-parents | |
parent | 49a11aa4d40d433ace011db68409c3113e25d41e (diff) | |
download | coreutils-1a6f58ae674eb669f43887286887bd5ba6b685ed.tar.xz |
Move mkdir tests into ../mkdir.
Diffstat (limited to 'tests/cp/cp-parents')
-rwxr-xr-x | tests/cp/cp-parents | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/cp/cp-parents b/tests/cp/cp-parents index 569d88dc2..313ead5db 100755 --- a/tests/cp/cp-parents +++ b/tests/cp/cp-parents @@ -20,7 +20,7 @@ framework_failure=0 mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 mkdir foo bar || framework_failure=1 -mkdir -p a/b/c d e e-dir || framework_failure=1 +mkdir -p a/b/c d e || framework_failure=1 if test $framework_failure = 1; then echo 'failure in testing framework' @@ -45,9 +45,4 @@ p=`ls -ld e/d|sed 's/ .*//'`; case $p in drwxr-xr-x);; *) fail=1;; esac p=`ls -ld e/d/a|sed 's/ .*//'`; case $p in drwx-w--w-);; *) fail=1;; esac p=`ls -ld e/d/a/b/c|sed 's/ .*//'`; case $p in drwxr-xr-x);; *) fail=1;; esac -# Make sure `mkdir -p existing-dir' succeeds -# and that `mkdir existing-dir' fails. -mkdir -p e-dir || fail=1 -mkdir e-dir > /dev/null 2>&1 && fail=1 - (exit $fail); exit |