From: Ralf Wildenhues Date: Tue, 28 Dec 2004 10:29:03 +0000 (+0000) Subject: * tests/quote.test: Restart under the correct shell (the one X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce1288c65d788dcb25ff123c5a249b8524bf650;p=thirdparty%2Flibtool.git * tests/quote.test: Restart under the correct shell (the one $ECHO was computed for). --- diff --git a/ChangeLog b/ChangeLog index fecd31c02..1f28c99d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-28 Ralf Wildenhues + + * tests/quote.test: Restart under the correct shell (the one + $ECHO was computed for). + 2004-12-21 Ralf Wildenhues * libltdl/lt__dirent.c: Include lt__private.h. diff --git a/tests/quote.test b/tests/quote.test index eb5d6b5f3..29fdcc4d0 100755 --- a/tests/quote.test +++ b/tests/quote.test @@ -26,6 +26,15 @@ # Do the torture test. status=$EXIT_SUCCESS +case $2 in + --no-reexec) + ;; + *) + func_get_config "SHELL" "../libtool --config" + exec $SHELL "$0" --no-reexec ${1+"$@"} + ;; +esac + func_get_config "ECHO" "../libtool --config" for mode in compile link install; do