summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-02-05 17:28:44 -0500
committerTavian Barnes <tavianator@tavianator.com>2017-02-05 19:04:25 -0500
commitd8444e1ec6a51b53da55149a2d4a6847185d000d (patch)
tree946c9710a73b3cd26efc809a6af3f9157f1f2839 /tests.sh
parenta6f94c132c425bbab543e98fcd19f4ff7519d1b7 (diff)
downloadbfs-d8444e1ec6a51b53da55149a2d4a6847185d000d.tar.xz
bftw: Compute nameoff correctly for 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 7e85cff..001fea4 100755
--- a/tests.sh
+++ b/tests.sh
@@ -837,9 +837,13 @@ function test_0137() {
bfs_diff basic -maxdepth 0 -printf '\18\118\1118\11118\n\cfoo'
}
+function test_0138() {
+ bfs_diff basic/g -depth -name g
+}
+
result=0
-for i in {1..137}; do
+for i in {1..138}; do
test="test_$(printf '%04d' $i)"
if [ -t 1 ]; then