summaryrefslogtreecommitdiff
path: root/dist/Thread-Queue
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2014-03-13 16:16:22 -0400
committerAndy Dougherty <doughera@lafayette.edu>2014-03-18 07:15:37 -0400
commit7d18793f050900d85e6cdbba5505b99cea51fe26 (patch)
tree8d83ff3cd1a3509a2de1be01f7695eb16b1bde56 /dist/Thread-Queue
parentf1397316ff9824d76d2953cfd3cef2bef5be92ee (diff)
downloadperl-7d18793f050900d85e6cdbba5505b99cea51fe26.tar.gz
Make sure the PWD environment variable points to the t directory.
runtests is typically run under /bin/sh. If the user uses a different interactive shell (such as /bin/ksh) that maintains the PWD environment variable, but /bin/sh does not, then the 'cd t' line in runtests ends up changing the working directory without updating $PWD. Several tests in t/io/fs.t rely on being able to change directories and then get back to the original. The tests assume that if $PWD is set at all, then it is set correctly. This fix changes runtests to ensure it is so.
Diffstat (limited to 'dist/Thread-Queue')
0 files changed, 0 insertions, 0 deletions