1 --- coreutils-6.8+/tests/cp/acl.getfacl-exit-code 2007-03-01 16:48:29.000000000 +0000
2 +++ coreutils-6.8+/tests/cp/acl 2007-03-01 16:49:35.000000000 +0000
4 # copy a file without preserving permissions
7 -acl2=`cd b && getfacl file` || framework_failure=1
8 +acl2=`cd b && getfacl file`
9 test "$acl1" = "$acl2" || fail=1
10 rm a/file || framework_failure=1
12 # copy a file, preserving permissions
13 touch a/file || framework_failure=1
14 -setfacl -m user:bin:rw a/file || framework_failure=1
15 -acl1=`cd a && getfacl file` || framework_failure=1
16 +setfacl -m user:bin:rw a/file
17 +acl1=`cd a && getfacl file`
18 cp -p a/file b/ || fail=1
19 -acl2=`cd b && getfacl file` || framework_failure=1
20 +acl2=`cd b && getfacl file`
21 test "$acl1" = "$acl2" || fail=1
23 if test $framework_failure = 1; then