mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
test: switch TEST-02-CRYPTSETUP and TEST-24-UNITTESTS
When tests are executed serially (the default), it seems better to launch the fairly generic test that runs the unittests early in the sequence. Right now the tests are ordered based on when they were written, but this doesn't make much sense.
This commit is contained in:
parent
abf6346c5e
commit
9309a23b95
@ -60,4 +60,4 @@ check_result_qemu() {
|
||||
return $_ret
|
||||
}
|
||||
|
||||
do_test "$@" 24
|
||||
do_test "$@" 02
|
@ -76,4 +76,4 @@ test_setup_cleanup() {
|
||||
cleanup_initdir
|
||||
}
|
||||
|
||||
do_test "$@" 02
|
||||
do_test "$@" 24
|
@ -1,8 +1,7 @@
|
||||
[Unit]
|
||||
Description=TEST-02-CRYPTSETUP
|
||||
After=multi-user.target
|
||||
Description=TEST-02-UNITTESTS
|
||||
|
||||
[Service]
|
||||
ExecStartPre=rm -f /failed /testok
|
||||
ExecStart=sh -x -e -c 'mountpoint /var; systemctl --state=failed --no-legend --no-pager >/failed; echo OK >/testok'
|
||||
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
|
||||
Type=oneshot
|
||||
|
@ -1,7 +1,8 @@
|
||||
[Unit]
|
||||
Description=TEST-24-UNIT-TESTS
|
||||
Description=TEST-24-CRYPTSETUP
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStartPre=rm -f /failed /testok
|
||||
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
|
||||
ExecStart=sh -x -e -c 'mountpoint /var; systemctl --state=failed --no-legend --no-pager >/failed; echo OK >/testok'
|
||||
Type=oneshot
|
||||
|
Loading…
Reference in New Issue
Block a user