summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-04-01 09:55:54 +0530
committerAmar Tumballi <amarts@redhat.com>2019-04-03 04:27:46 +0000
commite3ef34cc33772e1f05a6a3dbaad2352f6561e5f0 (patch)
tree3dd7dabed9fd86ffa08ed10e9fdaa17be3b6b9b6 /tests/bugs
parentec1b84300fe267dd12c1e42e7e91905db935f1e2 (diff)
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 <amarts@redhat.com>
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/bug-1371806_acl.t5
1 files changed, 5 insertions, 0 deletions
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