summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rwxr-xr-xtests/misc/pwd-long2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f5b181dc..dfa12e84c 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 a9fb4022e..546550ef2 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.