summaryrefslogtreecommitdiff
path: root/t/test.pl
diff options
context:
space:
mode:
Diffstat (limited to 't/test.pl')
-rw-r--r--t/test.pl5
1 files changed, 0 insertions, 5 deletions
diff --git a/t/test.pl b/t/test.pl
index 5062ece575..d92f28f8f2 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -776,11 +776,6 @@ sub untaint_path {
$path = $path . $sep;
}
$path = $path . '/bin';
- } elsif (!$is_vms and !length $path) {
- # empty PATH is the same as a path of "." on *nix so to prevent
- # tests from dieing under taint we need to return something
- # absolute. Perhaps "/" would be better? Anything absolute will do.
- $path = "/usr/bin";
}
$path;