summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-01-30 14:00:02 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-01-30 14:00:02 -0500
commit132dc9eaf7d6aa9e7892d9b55889f762f1140f4d (patch)
tree3c8dd890176873edcbc4a06852b4a64690c53488 /tests.sh
parent3f9f913f5302b71ef57467798f62dd3e83b217bc (diff)
downloadbfs-132dc9eaf7d6aa9e7892d9b55889f762f1140f4d.tar.xz
Implement -empty.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 90ef066..bb24fe0 100755
--- a/tests.sh
+++ b/tests.sh
@@ -105,7 +105,12 @@ function test_0014() {
find_diff "$1" -writable
}
-for i in {1..14}; do
+function test_0015() {
+ basic_structure "$1"
+ find_diff "$1" -empty
+}
+
+for i in {1..15}; do
dir="$(mktemp -d "${TMPDIR:-/tmp}"/bfs.XXXXXXXXXX)"
test="test_$(printf '%04d' $i)"
"$test" "$dir"