summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests.sh6
-rw-r--r--tests/test_0024.out1
-rw-r--r--tests/test_0025.out4
-rw-r--r--tests/test_0026.out4
4 files changed, 3 insertions, 12 deletions
diff --git a/tests.sh b/tests.sh
index 54371fd..9a9a38f 100755
--- a/tests.sh
+++ b/tests.sh
@@ -209,15 +209,15 @@ function test_0023() {
}
function test_0024() {
- bfs_diff links -links 2
+ bfs_diff links -type f -links 2
}
function test_0025() {
- bfs_diff links -links -2
+ bfs_diff links -type f -links -2
}
function test_0026() {
- bfs_diff links -links +1
+ bfs_diff links -type f -links +1
}
function test_0027() {
diff --git a/tests/test_0024.out b/tests/test_0024.out
index a3dcbb2..892c879 100644
--- a/tests/test_0024.out
+++ b/tests/test_0024.out
@@ -1,3 +1,2 @@
links/a
links/c
-links/d/e/f
diff --git a/tests/test_0025.out b/tests/test_0025.out
index 092fe54..e69de29 100644
--- a/tests/test_0025.out
+++ b/tests/test_0025.out
@@ -1,4 +0,0 @@
-links/b
-links/h
-links/d/e/g
-links/d/e/i
diff --git a/tests/test_0026.out b/tests/test_0026.out
index 1f94970..892c879 100644
--- a/tests/test_0026.out
+++ b/tests/test_0026.out
@@ -1,6 +1,2 @@
-links
links/a
links/c
-links/d
-links/d/e
-links/d/e/f