From 3857f41551b2ad3e5288828163afb6f67c7cc6f1 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 24 Apr 2019 23:36:52 -0400 Subject: tests: Redirect stdin from /dev/null --- tests.sh | 3 +++ 1 file changed, 3 insertions(+) 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 &1 -- cgit v1.2.3