test: run unittests with newlines in /proc/cmdline

This should help catch this class of errors.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-03-28 11:51:29 +01:00
parent 1506edca91
commit f4c7bf9e90
+8
View File
@@ -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() {