aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ss
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-12-15 22:09:48 -0500
committerTheodore Ts'o <tytso@mit.edu>2007-12-15 22:09:48 -0500
commitbef406047dcd20ff6910714fea986ca29efccb73 (patch)
treef2bf6a32d2877d0dbbf69f584ff3504aad8ea09b /lib/ss
parentdaecda1cad1205d6697086e8a190d35eb3f6950f (diff)
downloadandroid_external_e2fsprogs-bef406047dcd20ff6910714fea986ca29efccb73.tar.gz
android_external_e2fsprogs-bef406047dcd20ff6910714fea986ca29efccb73.tar.bz2
android_external_e2fsprogs-bef406047dcd20ff6910714fea986ca29efccb73.zip
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" <tytso@mit.edu>
Diffstat (limited to 'lib/ss')
-rw-r--r--lib/ss/Makefile.in2
1 files changed, 1 insertions, 1 deletions
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