Daan De Meyer
7a321b5a21
test: Rename testsuite-XX units to match test name
...
Having these named differently than the test itself mostly creates
unecessary confusion and makes writing logic against the tests harder
so let's rename the testsuite-xx units and scripts to just use the
test name itself.
2024-05-14 12:43:28 +02:00
Daan De Meyer
b03c2d51b2
TEST-18-FAILUREACTION: Exit with 123 on success
...
mkosi expects the virtual machine/container to exit with exit status
123 on success so let's make sure that's the case.
2024-04-30 22:10:05 +02:00
Zbigniew Jędrzejewski-Szmek
128db0aa00
test: drop uses of "&& { echo 'unexpected success'; exit 1; }"
...
Brief is sweet.
2023-04-24 21:58:35 +02:00
Zbigniew Jędrzejewski-Szmek
7b3cec95db
tests: add spdx headers to scripts and Makefiles
2021-10-18 09:04:45 +02:00
Frantisek Sumsal
084575ff91
test: use set -eux and set -o pipefail everywhere
...
This should make the scripts more robust.
2021-04-13 12:08:01 +02:00
Zbigniew Jędrzejewski-Szmek
0ee994836c
TEST-*: use spacing before redirection operator, but not after
...
<< EOF → <<EOF
> foo < bar → >foo <bar
2021-04-08 20:21:50 +02:00
Zbigniew Jędrzejewski-Szmek
4e20fe2795
TEST-*: make failure tests actually fail on failure
...
Here the intent was actually correct, and the tests still pass when the check
is made effective.
2021-04-08 20:21:50 +02:00
Zbigniew Jędrzejewski-Szmek
dce2b8ce48
test: move TEST-18-FAILUREACTION setup to static files
2020-03-28 11:46:47 +01:00