Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2026 11:11:22 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        freebsd-testing@freebsd.org
Subject:   pjdfstest integration
Message-ID:  <aeeTmlUluD6y3VnH@nuc>

index | next in thread | raw e-mail

Hi, I noticed that we install pjdfstest to /usr/tests/sys/pjdfstest,
but:
- it's not hooked up to the test suite, i.e.,
  "kyua test -k /usr/tests/Kyuafile" doesn't run it,
- contrib/pjdfstest doesn't seem to be updated regularly,
- the configuration is hard-coded, i.e., I can't easily run it against a
  filesystem of my choice.

How hard would it be to parameterize the tests so that we can run the
tests again a list of filesystems?  For each filesystem we'd have some
little script that sets up some scratch space, creates an empty
filesystem and points pjdfstest at it.  In some cases we'd need the test
runner to specify some additional variables, e.g., for p9fs you want the
test runner to provide a share, as we currently only support the virtio
transport.  I'm not sure if kyua can pass variables to a TAP test, so
the solution might be to wrap each pjdfstest run with an ATF test case
which handles the setup.

Is anyone interested in working on these things?


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aeeTmlUluD6y3VnH>