From: Jim Meyering Date: Mon, 23 Oct 2006 10:22:15 +0000 (+0200) Subject: * tests/misc/pwd-long: Whoops. Don't exec the perl script. Otherwise, the sh-trap... X-Git-Tag: COREUTILS-6_5~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e4eef7e405d05461f463e5276110fe6a48f6385;p=thirdparty%2Fcoreutils.git * tests/misc/pwd-long: Whoops. Don't exec the perl script. Otherwise, the sh-trap-based clean-up code isn't run. --- diff --git a/ChangeLog b/ChangeLog index 3f5b181dcf..dfa12e84c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * tests/misc/pwd-long: Undo last change, since it made Perl invoke pwd via a shell. Instead, ensure that the absolute name of the pwd binary consists solely of reasonable characters. + Whoops. Don't exec the perl script. Otherwise, the sh-trap-based + clean-up code isn't run. * NEWS: Add a line for 6.5-cvs. * configure.ac (AC_INIT): Bump to 6.5 and add "-cvs" suffix. diff --git a/tests/misc/pwd-long b/tests/misc/pwd-long index a9fb4022ea..546550ef2d 100755 --- a/tests/misc/pwd-long +++ b/tests/misc/pwd-long @@ -46,7 +46,7 @@ export ARGV_0 CWD=$pwd/$tmp export CWD -exec $PERL -Tw -- - <<\EOF +$PERL -Tw -- - <<\EOF # Show that pwd works even when the length of the resulting # directory name is longer than PATH_MAX.