On Wed, 2006-09-06 at 14:09 -0500, Steve Fox wrote: > tests: Respect existing PATH and LD_LIBRARY_PATH variables so that > run_tests.sh will run when installed in an unusual location. > > Signed-off-by: Steve Fox <[EMAIL PROTECTED]> > > diff --git a/tests/run_tests.sh b/tests/run_tests.sh > index 9b8af36..be648ff 100755 > --- a/tests/run_tests.sh > +++ b/tests/run_tests.sh > @@ -25,7 +25,7 @@ run_test_bits () { > > if [ -d obj$BITS ]; then > echo -n "$@ ($BITS): " > - PATH="obj$BITS" LD_LIBRARY_PATH="../obj$BITS" $ENV "$@" > + PATH="obj$BITS:$PATH" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../obj$BITS" > $ENV "$@" > fi > }
Checked in -- available in 20060925. -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel