From e3ef34cc33772e1f05a6a3dbaad2352f6561e5f0 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 1 Apr 2019 09:55:54 +0530 Subject: posix-acl: remove default functions, and use library fn instead this works as a better solution, as we reuse more functions from library. Also just do write/read on a file when acl is enabled, so we can see improvement in code coverage. updates: bz#1693692 Change-Id: If3359260c8ec2cf4fcf148fb4b95fdecc922c252 Signed-off-by: Amar Tumballi --- tests/bugs/bug-1371806_acl.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/bugs/bug-1371806_acl.t') diff --git a/tests/bugs/bug-1371806_acl.t b/tests/bugs/bug-1371806_acl.t index aa41e04b96f..a2e5af49bb0 100644 --- a/tests/bugs/bug-1371806_acl.t +++ b/tests/bugs/bug-1371806_acl.t @@ -77,6 +77,10 @@ cd $M0 ## was up at the time of updated xattrs TEST stat ./tmp{1..10} +# Make sure to send a write and read on the file inside mount +echo "helloworld" > ./tmp1/file +TEST cat ./tmp1/file + ## Compare succ value with updated acl attributes count=`getfacl -p $B0/${V0}5/tmp{1..10} | grep -c "user:tmpuser:rw-"` EXPECT "$succ" echo $count @@ -87,4 +91,5 @@ EXPECT "$succ1" echo $count cd - userdel --force tmpuser + cleanup -- cgit