Browse Source

[github31] Merge branch 'eest-lfc_test_fix' into github31

Marcin Siodelski 8 years ago
parent
commit
ecbe74f16d

+ 1 - 1
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in

@@ -318,7 +318,7 @@ lfc_timer_test() {
     sleep 1
 
     # Modify the interval.
-    LFC_CONFIG=$(printf "${CONFIG}" | sed -e 's/\"lfc-interval\": 1/\"lfc-interval\": 2/g')
+    LFC_CONFIG=$(printf "${LFC_CONFIG}" | sed -e 's/\"lfc-interval\": 1/\"lfc-interval\": 2/g')
     # Create new configuration file.
     create_config "${LFC_CONFIG}"
 

+ 1 - 1
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in

@@ -321,7 +321,7 @@ lfc_timer_test() {
     sleep 1
 
     # Modify the interval.
-    LFC_CONFIG=$(printf "${CONFIG}" | sed -e 's/\"lfc-interval\": 1/\"lfc-interval\": 2/g')
+    LFC_CONFIG=$(printf "${LFC_CONFIG}" | sed -e 's/\"lfc-interval\": 1/\"lfc-interval\": 2/g')
     # Create new configuration file.
     create_config "${LFC_CONFIG}"