diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-02-05 17:29:12 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-02-05 19:04:25 -0500 |
commit | 78ebbfe2ce56d5504cbee0883c747fb427279653 (patch) | |
tree | bd0fe5d8d928d0ecae5a3179820ce5c10512b422 /tests.sh | |
parent | d8444e1ec6a51b53da55149a2d4a6847185d000d (diff) | |
download | bfs-78ebbfe2ce56d5504cbee0883c747fb427279653.tar.xz |
Make -quit happen immediately, not at the end of the current expression
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |