summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-12-05 08:04:22 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-12-05 08:07:32 -0500
commit837c42ea813000e3cd90db7e4012bc2a8aa98822 (patch)
treecc09572553b90c9b8f600b39bd67f89d258c9dad /tests.sh
parent5ef696da405d72a68d0996a7c4662f689accee82 (diff)
downloadbfs-837c42ea813000e3cd90db7e4012bc2a8aa98822.tar.xz
tests: Don't check -size for directories
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh7
1 files changed, 4 insertions, 3 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() {