diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-12-25 15:40:21 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-12-28 01:01:28 -0500 |
commit | 2c8fdfce64f193c86f9a46303e56b5f6025c1387 (patch) | |
tree | 8b4baea96c54de274e568b030f67719f095dee8f | |
parent | 0cef329172e39b908ebab3ca1232770eb714de6a (diff) | |
download | bfs-2c8fdfce64f193c86f9a46303e56b5f6025c1387.tar.xz |
tests: Fix test_exit() to not depend on breadth-first ordering
-rwxr-xr-x | tests.sh | 2 | ||||
-rw-r--r-- | tests/test_exit.out | 15 |
2 files changed, 1 insertions, 16 deletions
@@ -1771,7 +1771,7 @@ function test_exit() { return 1 fi - bfs_diff basic -name bar -exit -o -print + bfs_diff basic/g -print -name g -exit } function test_printx() { diff --git a/tests/test_exit.out b/tests/test_exit.out index b79fef1..cf4d5a9 100644 --- a/tests/test_exit.out +++ b/tests/test_exit.out @@ -1,16 +1 @@ -basic -basic/a -basic/b -basic/c -basic/e basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo |