From 78ebbfe2ce56d5504cbee0883c747fb427279653 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 5 Feb 2017 17:29:12 -0500 Subject: Make -quit happen immediately, not at the end of the current expression --- tests.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 001fea4..d83f824 100755 --- a/tests.sh +++ b/tests.sh @@ -841,9 +841,19 @@ function test_0138() { bfs_diff basic/g -depth -name g } +function test_0139() { + [ "$BSD" -o "$GNU" ] || return 0 + bfs_diff basic basic -print -quit +} + +function test_0140() { + [ "$BSD" -o "$GNU" ] || return 0 + bfs_diff basic basic -quit -print +} + result=0 -for i in {1..138}; do +for i in {1..140}; do test="test_$(printf '%04d' $i)" if [ -t 1 ]; then -- cgit v1.2.3