Michal Koutný
9acb2964d7
test: Simplify hostname checking
...
Both hostname and uname utilities boil down to uname(2) syscall. Reduce
tests dependency footprint by using uname for checking hostname too.
2020-04-22 10:35:12 +02:00
Davide Cavalca
b75f0c69b3
shared: add %g, %G specifiers for group / gid ( #10368 )
2018-10-13 17:26:48 +09:00
Yu Watanabe
d45e481ed2
test: add test for specifier of configuration directory root
2018-06-21 03:24:09 +09:00
Yu Watanabe
545673d4b0
test: add tests for %j and %J specifier in test-execute ( #8838 )
...
Follow-up for 250e9fadbc
.
2018-04-27 13:07:23 +02:00
Lennart Poettering
63d6135fea
tests: compare with correct shell
...
We synthesize the passwd record for UID 0, hence we need to compare with
our synthesized data and not with the data stored in /etc/passwd
2018-04-19 11:41:28 +02:00
Zbigniew Jędrzejewski-Szmek
42345b178d
test: drop the use of /bin/sh in various test services
...
This is not meant to be comprehensive, just the few cases where the /bin/sh -c wrapper
is obviously superfluous.
2018-04-16 16:09:46 +02:00
Zbigniew Jędrzejewski-Szmek
c0af656c52
test-execute/exec-specifier.service: fix quoting
...
The lines would cause the whole service to fail to be loaded.
2018-04-12 16:20:02 +02:00
Yu Watanabe
f0e018e748
test-execute: cleanup
...
This makes rename the test units by a consistent naming scheme,
add several logs, and sort internal functions.
No functional change.
2017-12-06 00:36:55 +09:00
Yu Watanabe
8b3c4b5757
test-execute: test more % specifiers ( #7450 )
2017-11-24 10:17:28 +01:00