rpms/coreutils/devel coreutils-getfacl-exit-code.patch,1.2,1.3

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Fri Jan 25 17:49:55 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/coreutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31632

Added Files:
	coreutils-getfacl-exit-code.patch 
Log Message:
add back to cvs accidently removed coreutils-getfacl-exit-code.patch

coreutils-getfacl-exit-code.patch:

Index: coreutils-getfacl-exit-code.patch
===================================================================
RCS file: coreutils-getfacl-exit-code.patch
diff -N coreutils-getfacl-exit-code.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ coreutils-getfacl-exit-code.patch	25 Jan 2008 17:49:47 -0000	1.3
@@ -0,0 +1,23 @@
+--- coreutils-6.8+/tests/cp/acl.getfacl-exit-code	2007-03-01 16:48:29.000000000 +0000
++++ coreutils-6.8+/tests/cp/acl	2007-03-01 16:49:35.000000000 +0000
+@@ -70,16 +70,16 @@
+ # copy a file without preserving permissions
+ cp a/file b/ || fail=1
+ 
+-acl2=`cd b && getfacl file` || framework_failure
++acl2=`cd b && getfacl file`
+ test "$acl1" = "$acl2" || fail=1
+ rm a/file || framework_failure
+ 
+ # copy a file, preserving permissions
+ touch a/file || framework_failure
+-setfacl -m user:bin:rw a/file || framework_failure
+-acl1=`cd a && getfacl file` || framework_failure
++setfacl -m user:bin:rw a/file
++acl1=`cd a && getfacl file`
+ cp -p a/file b/ || fail=1
+-acl2=`cd b && getfacl file` || framework_failure
++acl2=`cd b && getfacl file`
+ test "$acl1" = "$acl2" || fail=1
+ 
+ exit $fail




More information about the fedora-extras-commits mailing list