Yu Watanabe
2a9efd8513
test: add testcases of symlinked drop-in directories
...
(cherry picked from commit cf6562e456
)
2022-01-04 16:17:30 +01:00
Zbigniew Jędrzejewski-Szmek
d632e6fe3b
tests: use !/usr/bin/env bash consistently
...
This adjustment was last done in f96bc66901
,
but it seems some files were missed and some were added later.
2021-10-18 09:04:45 +02:00
Zbigniew Jędrzejewski-Szmek
7b3cec95db
tests: add spdx headers to scripts and Makefiles
2021-10-18 09:04:45 +02:00
Zbigniew Jędrzejewski-Szmek
41b2d7ac1d
TEST-15: add test for template aliases
2021-05-04 17:59:34 +02:00
Zbigniew Jędrzejewski-Szmek
6aac02ff1a
TEST-15: add forgotten file cleanup
2021-05-04 13:36:05 +02:00
Zbigniew Jędrzejewski-Szmek
5169595ec3
TEST-15: use ${:?} and shorten things a bit
2021-05-04 13:36:05 +02:00
Frantisek Sumsal
3882526798
test: use quotes where necessary
...
to avoid possible word splitting.
2021-04-13 12:08:01 +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
b903f16c2d
TEST-15-DROPINS: improve check
...
https://github.com/systemd/systemd/pull/18579#discussion_r588983813
2021-03-07 12:27:55 +01:00
Zbigniew Jędrzejewski-Szmek
3b5ab02119
TEST-15-DROPINS: add test for linked units
2021-02-14 15:08:49 +01:00
Zbigniew Jędrzejewski-Szmek
1aa0f38491
test/TEST-15: call daemon-reload in two more places
...
Sometimes the test would fail there, nondeterministically. I'm not sure why,
but relying on PID1 not caching the file is clearly very brittle. Let's instead
call daemon-reload.
2020-03-28 11:46:47 +01:00
Zbigniew Jędrzejewski-Szmek
4e2ac45a83
test/TEST-15: remove all created unit files
...
We would miss anything created under a template instance.
2020-03-28 11:46:47 +01:00
Zbigniew Jędrzejewski-Szmek
2c7519c036
test: move TEST-15-DROPIN setup to static files
...
Unfortunately the services needed to be renamed because of conflicts with other
services that exist in the shared dir.
2020-03-28 11:46:47 +01:00