]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 9 Sep 2000 08:27:52 +0000 (08:27 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 9 Sep 2000 08:27:52 +0000 (08:27 +0000)
tests/cp/special-bits

index ebc658dcee631419ad9e402a06f2afc3de0cb5f0..ed79a7a191638057b867541e89504ffa83e18148 100755 (executable)
@@ -41,6 +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
+
 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
 
 (exit $fail); exit