Blame coreutils-getfacl-exit-code.patch
|
Tim Waugh |
bb664a |
--- coreutils-6.8+/tests/cp/acl.getfacl-exit-code 2007-03-01 16:48:29.000000000 +0000
|
|
Tim Waugh |
bb664a |
+++ coreutils-6.8+/tests/cp/acl 2007-03-01 16:49:35.000000000 +0000
|
|
Tim Waugh |
bb664a |
@@ -70,16 +70,16 @@
|
|
Tim Waugh |
bb664a |
# copy a file without preserving permissions
|
|
Tim Waugh |
bb664a |
cp a/file b/ || fail=1
|
|
Tim Waugh |
bb664a |
|
|
Tim Waugh |
bb664a |
-acl2=`cd b && getfacl file` || framework_failure=1
|
|
Tim Waugh |
bb664a |
+acl2=`cd b && getfacl file`
|
|
Tim Waugh |
bb664a |
test "$acl1" = "$acl2" || fail=1
|
|
Tim Waugh |
bb664a |
rm a/file || framework_failure=1
|
|
Tim Waugh |
bb664a |
|
|
Tim Waugh |
bb664a |
# copy a file, preserving permissions
|
|
Tim Waugh |
bb664a |
touch a/file || framework_failure=1
|
|
Tim Waugh |
bb664a |
-setfacl -m user:bin:rw a/file || framework_failure=1
|
|
Tim Waugh |
bb664a |
-acl1=`cd a && getfacl file` || framework_failure=1
|
|
Tim Waugh |
bb664a |
+setfacl -m user:bin:rw a/file
|
|
Tim Waugh |
bb664a |
+acl1=`cd a && getfacl file`
|
|
Tim Waugh |
bb664a |
cp -p a/file b/ || fail=1
|
|
Tim Waugh |
bb664a |
-acl2=`cd b && getfacl file` || framework_failure=1
|
|
Tim Waugh |
bb664a |
+acl2=`cd b && getfacl file`
|
|
Tim Waugh |
bb664a |
test "$acl1" = "$acl2" || fail=1
|
|
Tim Waugh |
bb664a |
|
|
Tim Waugh |
bb664a |
if test $framework_failure = 1; then
|