summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-10-23 12:22:15 +0200
committerJim Meyering <jim@meyering.net>2006-10-23 12:22:15 +0200
commit7e4eef7e405d05461f463e5276110fe6a48f6385 (patch)
tree3a86501482d75c26929ce39cb8520ed9c1c0d745
parenta002111341cec3efa6207143b56ca51db1123f91 (diff)
downloadcoreutils-7e4eef7e405d05461f463e5276110fe6a48f6385.tar.xz
* tests/misc/pwd-long: Whoops. Don't exec the perl script. Otherwise, the sh-trap-based
clean-up code isn't run.
-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.