mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
test: run unittests with newlines in /proc/cmdline
This should help catch this class of errors.
This commit is contained in:
parent
1506edca91
commit
f4c7bf9e90
@ -3,6 +3,14 @@ set -e
|
||||
TEST_DESCRIPTION="Run unit tests under containers"
|
||||
RUN_IN_UNPRIVILEGED_CONTAINER=yes
|
||||
|
||||
# embed some newlines in the kernel command line to stress our test suite
|
||||
KERNEL_APPEND="
|
||||
|
||||
frobnicate!
|
||||
|
||||
$KERNEL_APPEND
|
||||
"
|
||||
|
||||
. $TEST_BASE_DIR/test-functions
|
||||
|
||||
check_result_nspawn() {
|
||||
|
Loading…
Reference in New Issue
Block a user