summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/pwd-long2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/pwd-long b/tests/misc/pwd-long
index 1306b327a..6fc83e258 100755
--- a/tests/misc/pwd-long
+++ b/tests/misc/pwd-long
@@ -97,7 +97,7 @@ until (++$i == $n);
my $build_src_dir = $ENV{BUILD_SRC_DIR};
$build_src_dir
or die "$ME: envvar BUILD_SRC_DIR not defined\n";
-if ($build_src_dir !~ m!^([-.:/\w]+)$!)
+if ($build_src_dir !~ m!^([-+.:/\w]+)$!)
{
warn "$0: skipping this test; odd build source directory name:\n"
. "$build_src_dir\n";