Commit 78e93d36 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3405] Fixed line breaks in the shell-based tests.

parent 6c18e5ad
......@@ -88,7 +88,8 @@ fi
# of configuration failure).
get_pids
if [ ${_GET_PIDS_NUM} -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes started.\n" ${_GET_PIDS_NUM}
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" ${_GET_PIDS_NUM}
clean_exit 1
fi
......@@ -119,7 +120,8 @@ if [ ${_GET_RECONFIGS} -ne 1 ]; then
printf "ERROR: server has been reconfigured despite bogus configuration.\n"
clean_exit 1
elif [ ${_GET_RECONFIG_ERRORS} -ne 1 ]; then
printf "ERROR: server did not report reconfiguration error despite attempt to configure it with invalid configuration.\n"
printf "ERROR: server did not report reconfiguration error despite attempt\
to configure it with invalid configuration.\n"
clean_exit 1
fi
......
......@@ -74,7 +74,8 @@ fi
# of configuration failure).
get_pids
if [ ${_GET_PIDS_NUM} -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes started.\n" ${_GET_PIDS_NUM}
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" ${_GET_PIDS_NUM}
clean_exit 1
fi
......@@ -102,7 +103,8 @@ fi
# Server should have shut down.
get_pids
if [ ${_GET_PIDS_NUM} -ne 0 ]; then
printf "ERROR: Kea did not shut down after receiving signal.\n" ${_GET_PIDS_NUM}
printf "ERROR: Kea did not shut down after receiving signal.\n"\
${_GET_PIDS_NUM}
clean_exit 1
fi
......
......@@ -90,7 +90,8 @@ fi
# of configuration failure).
get_pids
if [ ${_GET_PIDS_NUM} -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes started.\n" ${_GET_PIDS_NUM}
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" ${_GET_PIDS_NUM}
clean_exit 1
fi
......@@ -121,7 +122,8 @@ if [ ${_GET_RECONFIGS} -ne 1 ]; then
printf "ERROR: server has been reconfigured despite bogus configuration.\n"
clean_exit 1
elif [ ${_GET_RECONFIG_ERRORS} -ne 1 ]; then
printf "ERROR: server did not report reconfiguration error despite attempt to configure it with invalid configuration.\n"
printf "ERROR: server did not report reconfiguration error despite attempt\
to configure it with invalid configuration.\n"
clean_exit 1
fi
......
......@@ -75,7 +75,8 @@ fi
# of configuration failure).
get_pids
if [ ${_GET_PIDS_NUM} -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes started.\n" ${_GET_PIDS_NUM}
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" ${_GET_PIDS_NUM}
clean_exit 1
fi
......@@ -103,7 +104,8 @@ fi
# Server should have shut down.
get_pids
if [ ${_GET_PIDS_NUM} -ne 0 ]; then
printf "ERROR: Kea did not shut down after receiving signal.\n" ${_GET_PIDS_NUM}
printf "ERROR: Kea did not shut down after receiving signal.\n"\
${_GET_PIDS_NUM}
clean_exit 1
fi
......
......@@ -182,7 +182,8 @@ send_signal() {
# Get Kea pid.
get_pids
if [ ${_GET_PIDS_NUM} -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes started.\n" ${_GET_PIDS_NUM}
printf "ERROR: expected one Kea process to be started.\
Found %d processes started.\n" ${_GET_PIDS_NUM}
clean_exit 1
fi
printf "Sending signal ${sig} to Kea process (pid=%s).\n" ${_GET_PIDS}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment