* [PATCH] nfs/001: ignore the header in nfs4_getfacl output
@ 2018-07-06 15:37 Scott Mayhew
0 siblings, 0 replies; only message in thread
From: Scott Mayhew @ 2018-07-06 15:37 UTC (permalink / raw)
To: fstests
nfs4-acl-tools commit 6630629bb661 ("nfs4_getfacl: Add support to
accept more paths") added a header to the nfs4_getfacl output. Make
sure the test is only counting the number of ACEs.
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
---
tests/nfs/001 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/nfs/001 b/tests/nfs/001
index d7a79cb0..23d5c98c 100755
--- a/tests/nfs/001
+++ b/tests/nfs/001
@@ -55,7 +55,7 @@ $NFS4_SETFACL_PROG -S $acltest.list $acltest.file
# Dump ACL, expect correct number of ACE entries
$NFS4_GETFACL_PROG $acltest.file >>$seqres.full 2>&1
-$NFS4_GETFACL_PROG $acltest.file | wc -l
+$NFS4_GETFACL_PROG $acltest.file | grep -c "^A"
# success, all done
status=0
--
2.14.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-06 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06 15:37 [PATCH] nfs/001: ignore the header in nfs4_getfacl output Scott Mayhew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox