From bef406047dcd20ff6910714fea986ca29efccb73 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 15 Dec 2007 22:09:48 -0500 Subject: libss: Fix "make check" test case to work portably The "make check" test in lib/ss would fail if '.' is not in the user's PATH, and if the libss shared library had not yet been installed yet. Addresses-Sourceforge-Bug: #1848974 Signed-off-by: "Theodore Ts'o" --- lib/ss/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ss') diff --git a/lib/ss/Makefile.in b/lib/ss/Makefile.in index 276acc3e..aa4f94be 100644 --- a/lib/ss/Makefile.in +++ b/lib/ss/Makefile.in @@ -170,7 +170,7 @@ test_ss: test_ss.o test_cmd.o $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR) check:: all test_ss @echo " RUN TEST test_ss" - @(test_ss -f $(srcdir)/test_script >& test_out; exit 0) + @(LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./test_ss -f $(srcdir)/test_script >& test_out; exit 0) @if ! diff test_out $(srcdir)/test_script_expected > test.diff; then \ echo "Regression test for ss library failed!"; exit 1 ; fi -- cgit v1.2.3