From 2c8fdfce64f193c86f9a46303e56b5f6025c1387 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 25 Dec 2018 15:40:21 -0500 Subject: tests: Fix test_exit() to not depend on breadth-first ordering --- tests.sh | 2 +- tests/test_exit.out | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/tests.sh b/tests.sh index 4afe094..0e86904 100755 --- a/tests.sh +++ b/tests.sh @@ -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 -- cgit v1.2.3