diff options
author | Amar Tumballi <amarts@redhat.com> | 2019-04-01 09:55:54 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-04-03 04:27:46 +0000 |
commit | e3ef34cc33772e1f05a6a3dbaad2352f6561e5f0 (patch) | |
tree | 3dd7dabed9fd86ffa08ed10e9fdaa17be3b6b9b6 /tests/bugs | |
parent | ec1b84300fe267dd12c1e42e7e91905db935f1e2 (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.t | 5 |
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 |