diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-11-09 15:33:31 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-11-09 17:31:12 +0100 |
commit | 4f3d8def186bf22013723416701cc8b9bc76fc26 (patch) | |
tree | e1364c141983ef833b7cbb624bc0290b97999e79 /rules.d/60-drm.rules | |
parent | Merge pull request #29954 from DaanDeMeyer/fix (diff) | |
download | systemd-4f3d8def186bf22013723416701cc8b9bc76fc26.tar.xz systemd-4f3d8def186bf22013723416701cc8b9bc76fc26.zip |
test: don't pre-process $KERNEL_APPEND
Let's just rely on the word splitting done by bash instead of messing
with that ourselves, as it's just adding extra complexity to appease one
ShellCheck check. Also, this apparently never worked for the nspawn
stuff anyway, since I forgot to set $IFS to an appropriate value, so it
always put all arguments from $KERNEL_APPEND into a single array item
with an extra newline, which then made systemd sad:
~# readarray arr <<< "foo bar baz"; for i in "${arr[@]}"; do echo "'$i'"; done
'foo bar baz
'
~# make -C test/TEST-45-TIMEDATE/ clean setup run BUILD_DIR=$PWD/build TEST_NO_QEMU=1 KERNEL_APPEND="systemd.log_level=console"
...
~# journalctl -o short-monotonic --no-hostname --file /var/tmp/systemd-tests/systemd-test.XaDX67/system.journal --grep "Failed to parse" -p info --no-pager
[551138.986882] systemd-tmpfiles[21]: Failed to parse log level 'console
[551138.987179] systemd-remount-fs[20]: Failed to parse log level 'console
[551138.993125] systemd-sysusers[23]: Failed to parse log level 'console
[551138.998685] journalctl[29]: Failed to parse log level 'console
Resolves: #29945
Diffstat (limited to 'rules.d/60-drm.rules')
0 files changed, 0 insertions, 0 deletions