diff options
author | Jim Meyering <jim@meyering.net> | 2000-09-09 08:42:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-09-09 08:42:34 +0000 |
commit | e336878a5b06e6b87e64a11d3cdda7ff0916c04c (patch) | |
tree | 4cfa4f6bb8bd5ae7d90123b31eeb71252f6c76de /tests/cp/special-bits | |
parent | 6f98f91fad86ce4040e794eac78b161761881f79 (diff) | |
download | coreutils-e336878a5b06e6b87e64a11d3cdda7ff0916c04c.tar.xz |
*** empty log message ***
Diffstat (limited to 'tests/cp/special-bits')
-rwxr-xr-x | tests/cp/special-bits | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cp/special-bits b/tests/cp/special-bits index ed79a7a19..5e280bf35 100755 --- a/tests/cp/special-bits +++ b/tests/cp/special-bits @@ -41,13 +41,13 @@ fi fail=0 cp -p a a2 || fail=1 -set _ `ls -l a`; shift; a_perms=$1 -set _ `ls -l a2`; shift; a2_perms=$1 -test $a_perms = $a2_perms || fail=1 +set _ `ls -l a`; shift; p1=$1 +set _ `ls -l a2`; shift; p2=$1 +test $p1 = $p2 || fail=1 cp -p b b2 || fail=1 -set _ `ls -l b`; shift; b_perms=$1 -set _ `ls -l b2`; shift; b2_perms=$1 -test $b_perms = $b2_perms || fail=1 +set _ `ls -l b`; shift; p1=$1 +set _ `ls -l b2`; shift; p2=$1 +test $p1 = $p2 || fail=1 (exit $fail); exit |