From 132dc9eaf7d6aa9e7892d9b55889f762f1140f4d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 30 Jan 2016 14:00:02 -0500 Subject: Implement -empty. --- tests.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests.sh') 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" -- cgit v1.2.3