Yu Watanabe
18de7dd90f
integration tests: do not adjust log level of udevd in the test script
...
Similar to 5c60d3011f , but for udevd.
2026-01-14 16:32:38 +01:00
Yu Watanabe
e2c5e9c011
test: use relative paths to executables
...
This also makes shebang always use env command, and drops unnecessary
'bash -c' or 'sh -c' when a signle command is invoked in the shell,
like sleep or echo.
2025-09-23 15:48:53 +01:00
Yu Watanabe
04ade57a42
TEST-17-UDEV: rotate journal after pending journal entries in buffer before flushed
...
Then, expected journal entries should be in the archived journal, hence
hopefully we can safely get them.
Follow-up for 5e4115e59e .
2025-08-17 11:16:57 +01:00
Yu Watanabe
5e4115e59e
TEST-17-UDEV: rotate journal before checking
...
Otherwise, journal files may be rotated during checking journal entries
and the main system journal file may not be loaded:
```
[ 350.372652] TEST-17-UDEV.sh[5841]: + test b253:2 = b253:2
[ 350.373288] TEST-17-UDEV.sh[5841]: + [[ 1 == \1 ]]
[ 350.373722] TEST-17-UDEV.sh[5841]: + journalctl -n 1 -q -u systemd-udevd.service --invocation=0 --grep 'Found inotify watch .*457'
[ 350.374534] TEST-17-UDEV.sh[5970]: Journal file /run/log/journal/edc1fb58daff00ad89d6c8d9689bf172/system.journal is truncated, ignoring file.
[ 350.375415] TEST-17-UDEV.sh[415]: + echo 'Subtest /usr/lib/systemd/tests/testdata/units/TEST-17-UDEV.watch.sh failed'
```
Fixes #38559 .
2025-08-13 09:36:35 +01:00
Yu Watanabe
ae84aa286a
TEST-17-UDEV: fd may be >= 10
...
Follow-up for db5d89309a .
2025-04-08 06:16:14 +09:00
Yu Watanabe
db5d89309a
TEST-17-UDEV: check journal about inotify watch
2025-04-05 17:33:31 +09:00
Yu Watanabe
40959dcc02
TEST-17-UDEV: rename subtests
2025-04-05 17:33:31 +09:00