fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* testsuite for ACLs
@ 2019-03-25 13:18 Rishabh Dave
  2019-03-25 20:20 ` Darrick J. Wong
  2019-03-26  1:43 ` Dave Chinner
  0 siblings, 2 replies; 9+ messages in thread
From: Rishabh Dave @ 2019-03-25 13:18 UTC (permalink / raw)
  To: fstests

Hi,

I've been writing a testsuite for ACLs for CephFS[1] for some time.
Since the testcases are written from a generic POV, reviewers asked me
to try and get these tests merged with xfstests-dev so that it could
benefit other projects as well.

So far, I've got around 22 testcases. To give a brief summary, the
testsuite has 5 categories of tests: tests for nondefault nonmask
ACLs[2], for nondefault mask ACLs[3], for default nonmask ACLs[4], for
default mask ACLs[5] and, finally, the rest of testcases that don't
fall into previous categories[6] (e.g. testing effect of '-k' and '-b'
option of setfacl). The second last category is neither complete nor
tested, but that shouldn't be a hurdle.

One important issue to address is that my testsuite is written in
Python and xfstests-dev doesn't have any tests in Python. Although I
don't see any guidelines in the repository instructing to not to use
anything other than bash (and since I've never contributed to
xfstest-dev), I think it's best to ask this explicitly: is sending a
patch for tests in Python acceptable for xfstests-dev?

- Rishabh

[1] https://github.com/ceph/ceph/pull/26477
[2] https://github.com/rishabh-d-dave/ceph/blob/enable-acls-by-default/qa/tasks/cephfs/test_acls.py#L270
[3] https://github.com/rishabh-d-dave/ceph/blob/enable-acls-by-default/qa/tasks/cephfs/test_acls.py#L391
[4] https://github.com/rishabh-d-dave/ceph/blob/enable-acls-by-default/qa/tasks/cephfs/test_acls.py#L457
[5] https://github.com/rishabh-d-dave/ceph/blob/enable-acls-by-default/qa/tasks/cephfs/test_acls.py#L549
[6] https://github.com/rishabh-d-dave/ceph/blob/enable-acls-by-default/qa/tasks/cephfs/test_acls.py#L609

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-04-19 18:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-25 13:18 testsuite for ACLs Rishabh Dave
2019-03-25 20:20 ` Darrick J. Wong
2019-03-26  1:43 ` Dave Chinner
2019-03-29 15:59   ` Rishabh Dave
2019-03-29 22:56     ` Theodore Ts'o
2019-04-10 16:22       ` Rishabh Dave
2019-04-10 16:23     ` Rishabh Dave
2019-04-18 13:26       ` Rishabh Dave
2019-04-19  7:24         ` Eryu Guan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).