Browse Source

[3406] Use absolute paths to imported shell libs, in DHCPv6 tests.

Marcin Siodelski 11 years ago
parent
commit
dedd8c0c9a

+ 1 - 1
src/bin/dhcp6/tests/dhcp6_reconfigure_test.sh

@@ -63,7 +63,7 @@ CONFIG_INVALID="{
 }"
 
 # Import common test library.
-. dhcp6_test_func.sh
+. $(dirname $0)/dhcp6_test_func.sh
 
 # Log the start of the test and print test name.
 test_start

+ 1 - 1
src/bin/dhcp6/tests/dhcp6_shutdown_test.sh

@@ -48,7 +48,7 @@ CONFIG="{
 }"
 
 # Import common test library.
-. dhcp6_test_func.sh
+. $(dirname $0)/dhcp6_test_func.sh
 
 # Log the start of the test and print test name.
 test_start

+ 1 - 1
src/bin/dhcp6/tests/dhcp6_sigint_test.sh

@@ -13,4 +13,4 @@
 # PERFORMANCE OF THIS SOFTWARE.
 
 # Run a test that sends SIGINT to Kea and checks if it shuts down gracefully.
-./dhcp6_shutdown_test.sh "Sigint" 2
+$(dirname $0)/dhcp6_shutdown_test.sh "Sigint" 2

+ 1 - 1
src/bin/dhcp6/tests/dhcp6_sigterm_test.sh

@@ -13,4 +13,4 @@
 # PERFORMANCE OF THIS SOFTWARE.
 
 # Run a test that sends SIGTERM to Kea and checks if it shuts down gracefully.
-./dhcp6_shutdown_test.sh "Sigterm" 15
+$(dirname $0)/dhcp6_shutdown_test.sh "Sigterm" 15