]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* tests/misc/pwd-long: Whoops. Don't exec the perl script. Otherwise, the sh-trap...
authorJim Meyering <jim@meyering.net>
Mon, 23 Oct 2006 10:22:15 +0000 (12:22 +0200)
committerJim Meyering <jim@meyering.net>
Mon, 23 Oct 2006 10:22:15 +0000 (12:22 +0200)
clean-up code isn't run.

ChangeLog
tests/misc/pwd-long

index 3f5b181dcfc640a9565e6bca3c5cd242395f3aec..dfa12e84c594cd259bb786284b4514f33328b333 100644 (file)
--- 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.
index a9fb4022ea504c5c0bf1c3547e1de738e01c5c90..546550ef2d71fe5d0c504b882f4e3154322e3831 100755 (executable)
@@ -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.