summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-11-13 21:29:04 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-11-13 21:29:04 -0500
commitf63aa21beaffbb8da4978bfa37f070170cb8122e (patch)
treeb8666f29eef0bd1375d05dfb959c412a7247dba4 /tests.sh
parent58b4741d3d8eb50bd265e0aa5603923c1e3c04c4 (diff)
downloadbfs-f63aa21beaffbb8da4978bfa37f070170cb8122e.tar.xz
bftw: Keep trailing slashes on the root in BFTW_DEPTH mode.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 87a0ea1..cf39fd6 100755
--- a/tests.sh
+++ b/tests.sh
@@ -444,7 +444,11 @@ function test_0080() {
yes | "$BFS" "$basic" -okdir cat ';' 2>/dev/null
}
-for i in {1..80}; do
+function test_0081() {
+ find_diff "$basic/" -depth
+}
+
+for i in {1..81}; do
test="test_$(printf '%04d' $i)"
if [ -t 1 ]; then