diff options
Diffstat (limited to 'tests/install/basic-1')
-rwxr-xr-x | tests/install/basic-1 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/install/basic-1 b/tests/install/basic-1 index 327060404..360cd9c3d 100755 --- a/tests/install/basic-1 +++ b/tests/install/basic-1 @@ -98,9 +98,8 @@ ginstall -s -c -m 555 $dd $dir || fail=1 test -f $dd || fail=1 # Make sure that the destination file has the requested permissions. -set X `ls -l $dir/$dd` -shift -test "$1" = -r-xr-xr-x || fail=1 +mode=`ls -l $dir/$dd|cut -b-10` +test "$mode" = -r-xr-xr-x || fail=1 # These failed in coreutils CVS from 2004-06-25 to 2004-08-11. ginstall -d . || fail=1 |