Files
scoutfs/tests/golden
Zach Brown 8484a58dd6 Have xfstest pass when using args
The xfstests's golden output includes the full set of tests we expect to
run when no args are specified.  If we specify args then the set of
tests can change and the test will always fail when they do.

This fixes that by having the test check the set of tests itself, rather
than relying on golden output.  If args are specified then our xfstest
only fails if any of the executed xfstest tests failed.  Without args,
we perform the same scraping of the check output and compare it against
the expected results ourself.

It would have been a bit much to put that large file inline in the test
file, so we add a dir of per-test files in revision control.  We can
also put the list of exclusions there.

We can also clean up the output redirection helper functions to make
them more clear.  After xfstests has executed we want to redirect output
back to the compared output so that we can catch any unexpected output.

Signed-off-by: Zach Brown <zab@versity.com>
2025-11-13 12:43:31 -08:00
..
2022-02-21 10:44:38 -08:00
2022-12-06 10:31:31 -08:00
2024-07-22 14:08:32 -07:00
2021-07-07 14:13:14 -07:00
2022-02-17 11:20:08 -08:00
2021-05-26 14:18:28 -07:00
2019-08-02 16:51:34 -07:00
2021-04-27 12:01:43 -07:00
2025-01-23 14:28:40 -05:00
2021-01-14 13:42:22 -08:00
2023-01-09 14:49:23 -08:00
2024-06-28 15:09:05 -07:00
2024-07-22 14:08:32 -07:00
2024-06-28 15:09:05 -07:00
2025-01-27 14:49:04 -05:00
2020-12-15 15:13:42 -08:00
2021-09-13 14:41:07 -07:00
2025-11-13 12:43:31 -08:00