summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index f24308d..a6d9784 100755
--- a/tests.sh
+++ b/tests.sh
@@ -852,9 +852,15 @@ function test_0140() {
bfs_diff basic basic -quit -print
}
+function test_0141() {
+ # Memory leak regression test
+ [ "$GNU" ] || return 0
+ bfs_diff basic -maxdepth 0 -printf '%p'
+}
+
result=0
-for i in {1..140}; do
+for i in {1..141}; do
test="test_$(printf '%04d' $i)"
if [ -t 1 ]; then