summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests.sh7
-rw-r--r--tests/test_0015.out1
-rw-r--r--tests/test_0058.out1
-rw-r--r--tests/test_0059.out13
-rw-r--r--tests/test_0060.out13
5 files changed, 6 insertions, 29 deletions
diff --git a/tests.sh b/tests.sh
index 9a9a38f..781556a 100755
--- a/tests.sh
+++ b/tests.sh
@@ -26,6 +26,7 @@ function make_basic() {
touchp "$1/j/foo"
touchp "$1/k/foo/bar"
touchp "$1/l/foo/bar/baz"
+ echo baz >"$1/l/foo/bar/baz"
}
make_basic "$TMP/basic"
@@ -345,15 +346,15 @@ function test_0057() {
}
function test_0058() {
- bfs_diff basic -size 0
+ bfs_diff basic -type f -size 0
}
function test_0059() {
- bfs_diff basic -size +0
+ bfs_diff basic -type f -size +0
}
function test_0060() {
- bfs_diff basic -size +0c
+ bfs_diff basic -type f -size +0c
}
function test_0061() {
diff --git a/tests/test_0015.out b/tests/test_0015.out
index 1dbddc7..81bdb0a 100644
--- a/tests/test_0015.out
+++ b/tests/test_0015.out
@@ -6,4 +6,3 @@ basic/e/f
basic/g/h
basic/j/foo
basic/k/foo/bar
-basic/l/foo/bar/baz
diff --git a/tests/test_0058.out b/tests/test_0058.out
index 6218a0c..eeabbd7 100644
--- a/tests/test_0058.out
+++ b/tests/test_0058.out
@@ -4,4 +4,3 @@ basic/c/d
basic/e/f
basic/j/foo
basic/k/foo/bar
-basic/l/foo/bar/baz
diff --git a/tests/test_0059.out b/tests/test_0059.out
index 1e72fd9..279f3f1 100644
--- a/tests/test_0059.out
+++ b/tests/test_0059.out
@@ -1,12 +1 @@
-basic
-basic/c
-basic/e
-basic/g
-basic/i
-basic/j
-basic/k
-basic/l
-basic/g/h
-basic/k/foo
-basic/l/foo
-basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_0060.out b/tests/test_0060.out
index 1e72fd9..279f3f1 100644
--- a/tests/test_0060.out
+++ b/tests/test_0060.out
@@ -1,12 +1 @@
-basic
-basic/c
-basic/e
-basic/g
-basic/i
-basic/j
-basic/k
-basic/l
-basic/g/h
-basic/k/foo
-basic/l/foo
-basic/l/foo/bar
+basic/l/foo/bar/baz