Tizen 2.0 Release
[external/tizen-coreutils.git] / packaging / coreutils-getfacl-exit-code.patch
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
3 @@ -70,16 +70,16 @@
4  # copy a file without preserving permissions
5  cp a/file b/ || fail=1
6  
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
11  
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
22  
23  if test $framework_failure = 1; then