From: Jim Meyering Date: Wed, 16 Aug 2006 10:00:07 +0000 (+0000) Subject: 2006-08-16 Andreas Schwab X-Git-Tag: COREUTILS-6_1~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8914bd9663959b81caa356ac3fa607c546e3ab9;p=platform%2Fupstream%2Fcoreutils.git 2006-08-16 Andreas Schwab * tests/cp/acl: Don't use non-portable == operator for test. --- diff --git a/ChangeLog b/ChangeLog index f837918bf..9203cbe56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-08-16 Andreas Schwab + + * tests/cp/acl: Don't use non-portable == operator for test. + 2006-08-16 Jim Meyering * tests/ls/stat-dtype: Use stat to test file system type, rather diff --git a/tests/cp/acl b/tests/cp/acl index 2bf637c2f..8abb6c1c3 100755 --- a/tests/cp/acl +++ b/tests/cp/acl @@ -34,7 +34,7 @@ acl1=`cd a && getfacl file | grep -v ':bin:' | grep -v 'mask::'` \ || framework_failure=1 cp a/file b/ || fail=1 acl2=`cd b && getfacl file` || framework_failure=1 -test "$acl1" == "$acl2" || fail=1 +test "$acl1" = "$acl2" || fail=1 rm a/file || framework_failure=1 # copy a file, preserving permissions @@ -43,7 +43,7 @@ setfacl -m user:bin:rw a/file || framework_failure=1 acl1=`cd a && getfacl file` || framework_failure=1 cp -p a/file b/ || fail=1 acl2=`cd b && getfacl file` || framework_failure=1 -test "$acl1" == "$acl2" || fail=1 +test "$acl1" = "$acl2" || fail=1 if test $framework_failure = 1; then echo 'failure in testing framework'