From fdc6e0db20cc940a09c02def3aebd5c2af0dcd54 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Sun, 2 Nov 2014 15:30:56 -0500 Subject: [PATCH] [test suite] bug fix to specify LD_LIBRARY_PATH for configure --enable-udp-server recompile test --- test/test-fwknop.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index 35d9dbf9..225334ba 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -1649,16 +1649,16 @@ sub configure_args_udp_server_no_libpcap() { $rv = 0; } - &run_cmd("$lib_view_cmd ./server/.libs/fwknopd", $cmd_out_tmp, "test/$curr_test_file"); + chdir $curr_pwd or die $!; + + &run_cmd("$lib_view_str $lib_view_cmd $fwknopdCmd", $cmd_out_tmp, $curr_test_file); if (&file_find_regex([qr/pcap/], $MATCH_ALL, $APPEND_RESULTS, $cmd_out_tmp)) { &write_test_file("[-] fwknopd appears to still link against libpcap.\n", - "test/$curr_test_file"); + $curr_test_file); $rv = 0; } - chdir $curr_pwd or die $!; - return $rv; }