File 0023-cp.test-Check-permissions-of-the-right-file.patch of Package acl

From 62ce6354ef5a8eb5644908748f79c8cd18474d4c Mon Sep 17 00:00:00 2001
From: Andreas Gruenbacher <agruen@linbit.com>
Date: Wed, 13 Aug 2014 01:25:12 +0200
Subject: [PATCH 23/34] cp.test: Check permissions of the right file

After "cp -p", the cp.test case was checking the permissions
of the source file instead of the target file.

Reported by: Nic <nic.henke@versity.com>
---
 test/cp.test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/cp.test b/test/cp.test
index a927195..449e2eb 100644
--- a/test/cp.test
+++ b/test/cp.test
@@ -14,7 +14,7 @@ The cp utility should only copy ACLs if `-p' is given.
 	
 	$ rm g
 	$ cp -p f g
-	$ ls -l f | awk -- '{ print $1 }'
+	$ ls -l g | awk -- '{ print $1 }'
 	> -rw-rw-r--+
 	
 	$ mkdir h
-- 
2.5.2

openSUSE Build Service is sponsored by