summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index f7eb428..65e439b 100755
--- a/tests.sh
+++ b/tests.sh
@@ -54,10 +54,20 @@ function test_0006() {
function test_0007() {
basic_structure "$1"
+ find_diff "$1" -mindepth 2 -depth
+}
+
+function test_0008() {
+ basic_structure "$1"
find_diff "$1" -maxdepth 1 -depth
}
-for i in {1..7}; do
+function test_0009() {
+ basic_structure "$1"
+ find_diff "$1" -maxdepth 2 -depth
+}
+
+for i in {1..9}; do
dir="$(mktemp -d "${TMPDIR:-/tmp}"/bfs.XXXXXXXXXX)"
test="test_$(printf '%04d' $i)"
"$test" "$dir"