From: Marcin Siodelski Date: Thu, 22 May 2014 17:17:43 +0000 (+0200) Subject: [3406] Remove line breaks from shell script to avoid fails on some systems. X-Git-Tag: trac3434_base~17^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7679ab95dec95e877b5ee5d1b17c6741d2d0153;p=thirdparty%2Fkea.git [3406] Remove line breaks from shell script to avoid fails on some systems. --- diff --git a/src/bin/dhcp6/tests/dhcp6_reconfigure_test.sh b/src/bin/dhcp6/tests/dhcp6_reconfigure_test.sh index e6dbe820fe..dee589381c 100755 --- a/src/bin/dhcp6/tests/dhcp6_reconfigure_test.sh +++ b/src/bin/dhcp6/tests/dhcp6_reconfigure_test.sh @@ -130,8 +130,7 @@ sleep 1 # Make sure that exactly one process has been started. getpids if [ ${_GETPIDS2} -ne 1 ]; then - printf "ERROR: expected one Kea process to be started. Found %d " \ - "processes started.\n" ${_GETPIDS2} + printf "ERROR: expected one Kea process to be started. Found %d processes started.\n" ${_GETPIDS2} cleanexit 1 fi @@ -149,8 +148,7 @@ printf "Creating configuration file with invalid configuration: %s.\n" ${CFG_FIL printf "%b" ${CONFIG_INVALID} > ${CFG_FILE} # Reconfigure the server with SIGHUP. -printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" \ - ${_GETPIDS1} +printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" ${_GETPIDS1} kill -1 ${_GETPIDS1} # Be patient. Kea may need a while to reconfigure or shut down @@ -184,8 +182,7 @@ fi printf "%b" ${CONFIG} > ${CFG_FILE} # Reconfigure the server with SIGHUP. -printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" \ - ${_GETPIDS1} +printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" ${_GETPIDS1} kill -1 ${_GETPIDS1} # After receiving SIGHUP the server should get reconfigured and the