summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index c64eacc..da011d9 100755
--- a/tests.sh
+++ b/tests.sh
@@ -815,6 +815,9 @@ function bfs_sort() {
awk -F/ '{ print NF - 1 " " $0 }' | sort -n | cut -d' ' -f2-
}
+# Close stdin so bfs doesn't think we're interactive
+exec </dev/null
+
if [ "$VERBOSE" ]; then
# dup stdout for verbose logging even when redirected
exec 3>&1