]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3770_rebase] shell unit-tests corrected.
authorTomek Mrugalski <tomasz@isc.org>
Thu, 16 Feb 2017 10:21:33 +0000 (11:21 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 16 Feb 2017 10:21:33 +0000 (11:21 +0100)
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in

index 6d3ecc015389b345c5637acbaa169456778c23bf..06b3e628fcf759524b613f2ffaac2b916f3e3900 100644 (file)
@@ -198,8 +198,8 @@ syntax_check_test() {
     # Create correct configuration file.
     create_config "${CONFIG}"
     # Check it
-    printf "Running command %s.\n" "\"${bin_path}/${bin} -t -c ${CFG_FILE}\""
-    ${bin_path}/${bin} -t -c ${CFG_FILE}
+    printf "Running command %s.\n" "\"${bin_path}/${bin} -t ${CFG_FILE}\""
+    ${bin_path}/${bin} -t ${CFG_FILE}
     exit_code=$?
     if [ ${exit_code} -ne $EXP_CODE ]; then
         printf "ERROR: expected exit code ${EXP_CODE}, got ${exit_code}\n"
index d448ff60c8dbac695eb38ced0ff0372b6e6a65b7..8f155974afb3f3a309351eade4ae77694b74a317 100644 (file)
@@ -197,8 +197,8 @@ syntax_check_test() {
     # Create correct configuration file.
     create_config "${CONFIG}"
     # Check it
-    printf "Running command %s.\n" "\"${bin_path}/${bin} -t -c ${CFG_FILE}\""
-    ${bin_path}/${bin} -t -c ${CFG_FILE}
+    printf "Running command %s.\n" "\"${bin_path}/${bin} -t ${CFG_FILE}\""
+    ${bin_path}/${bin} -t ${CFG_FILE}
     exit_code=$?
     if [ ${exit_code} -ne $EXP_CODE ]; then
         printf "ERROR: expected exit code $EXP_CODE, got ${exit_code}\n"