2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-26 01:34:05 +00:00
Files
xcat-core/xCAT-test/autotest/testcase
Daniel Hilst 764e667e0a fix(xcat-core): assert the integration case actually ran its tests
The case gated only on rc==0, but prove exits 0 both when tests pass and
when every test skips, so the case could report green having run nothing
at all. That is not hypothetical: all three tests carry environment
guards, and on the pull request run the harness discards a passing
case's output, so there was no way to tell from the log whether anything
had executed.

Add check:output=~Files=3, which proves prove found all three files. It
still tolerates a legitimate skip on a node without Kea, and it catches
a packaging regression or a rename. A missing directory was already
caught, since prove -r on a nonexistent path exits 2.

The count has to be maintained by hand when tests are added here, which
the README now says.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-07-23 11:47:15 -03:00
..
2018-07-02 05:27:01 -04:00
2018-04-18 16:48:28 +08:00
2022-11-28 15:10:28 -05:00
2018-11-05 01:19:21 -05:00
2019-03-27 04:23:39 -04:00
2024-07-16 12:42:39 +02:00
2024-07-16 12:42:39 +02:00
2018-11-05 03:24:53 -05:00
2018-11-28 01:51:26 -05:00
2023-01-10 10:21:40 -05:00
2018-11-05 01:19:21 -05:00
2019-04-03 02:16:17 -04:00
2022-07-06 11:36:21 -04:00
2018-11-15 02:44:58 -05:00