From f396b816a1225313a1f55a26bdea544ba71fe637 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Thu, 21 Nov 2013 21:01:17 -0500 Subject: [PATCH] [test suite] fix LD_LIBRARY_PATH for perl FKO 'make test' run --- test/test-fwknop.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index 70532ae5..1ccadbf6 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -1943,7 +1943,12 @@ sub perl_fko_module_make_test() { chdir '../perl/FKO' or die $!; - &run_cmd("make test", $cmd_out_tmp, "../../test/$curr_test_file"); + my $lib_path_cp = $lib_view_str; + + ### fix up relative path for lib directory + $lib_path_cp =~ s|\.\./|../../|g; + + &run_cmd("$lib_path_cp make test", $cmd_out_tmp, "../../test/$curr_test_file"); chdir $curr_pwd or die $!;