From ef28da1f876cb901f966dc01dd24ac861b3622ec Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 17 Feb 2024 09:33:06 -0500 Subject: tests: Redirect stdin in bfs_pty() Otherwise bfs will think it's interactive. --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run.sh b/tests/run.sh index ccd2ac1..720515d 100644 --- a/tests/run.sh +++ b/tests/run.sh @@ -386,7 +386,7 @@ bfs_pty() { bfs_verbose "$@" local ret=0 - "$UNBUFFER" bash -c 'stty cols 80 rows 24 && "$@"' bash "${BFS[@]}" "$@" || ret=$? + "$UNBUFFER" bash -c 'stty cols 80 rows 24 && "$@" 125)); then exit $ret -- cgit v1.2.3