summaryrefslogtreecommitdiff
path: root/t/comp
diff options
context:
space:
mode:
Diffstat (limited to 't/comp')
-rw-r--r--t/comp/require.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/comp/require.t b/t/comp/require.t
index 379acc758c..cb6bd3240a 100644
--- a/t/comp/require.t
+++ b/t/comp/require.t
@@ -34,7 +34,7 @@ push @files_to_delete, "$_->[0].pm" for @module_true_tests;
# to why there might be multiple execution of this test file, I don't
# know; but this is an experiment to see if random smoke failures go away.
-if (grep -e, @files_to_delete) {
+if (!$ENV{NO_SLEEP} and grep -e, @files_to_delete) {
print "# Sleeping for 20 secs waiting for other process to finish\n";
sleep 20;
}