[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: fix bug in getdirs
From: |
Ben Elliston |
Subject: |
Re: PATCH: fix bug in getdirs |
Date: |
Mon, 10 Dec 2018 07:56:27 +1100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
I've also added a getdirs test case which passes:
diff --git a/testsuite/runtest.all/utils.test b/testsuite/runtest.all/utils.test
index 107e907..2bf4869 100644
--- a/testsuite/runtest.all/utils.test
+++ b/testsuite/runtest.all/utils.test
@@ -37,6 +37,10 @@ run_tests [subst {
{[file join ${srcdir} runtest.all topdir]}
"*topdir*subdir\[12\]*topdir*subdir\[12\]"
"getdirs toplevel, two subdirs" }
+ { lib_pat_test getdirs
+ {[file join ${srcdir} runtest.all nothere]}
+ ""
+ "getdirs toplevel, non-existent subdir"}
}]
# Test relative_filename:
signature.asc
Description: PGP signature