Re: PATCH: fix bug in getdirs

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
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:

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlwNgXoACgkQZ9rcPj90
NkmI9xAAhTjjCx8Yry+NwV8ZIv1lzqPRGg5HWDw1Au7TNF+KhUkUzrMUNDkguw+1
j3byeAF0mODpxd6qC1G/DQEIuqNooetmAvV3Xgc/z5ftcW9FXdC/a3oKR58gPlzR
3znNOX2+O2Egc3MiSDLyS4MR0ZCU7QOTaVdYj5IE575z9yZncCmrkXwLB/fh/AxO
queNp14HUdYkaqjru7Xtq8BqbXtiVdAtF8siKNPPfRJ9Uol8C6EmDtA5bUCVopG7
BUkr7hT4gZlG/08FE0ZWTjnbgK0F8QCNWfoyFWnKujfme7G8eJoSJ4m5LW1UBzXY
OwFmxToVAyHxauio8QfvAuNP5ddotG7pZTpvps9LKujd1pYnwkVPdx4ygBRO/OAm
JbJHMrz94BfBJVLzH229VmPqjQ72tCIPRzNWCmBmrt6fVEqmWCowVJ/cLBW3MPsF
L+dKMuB5nIZMbVM/t0ZSCd1A5sQpGjF//szyuAw+fwUCaERMFsH9EJh8Jsunx5A8
CxSGeGqpFpQ0hAMnvmHwuzt9yytfujSY2Hm+loH0xeKXQObnJZ6NLzVL/xtjmThG
w26FZRc9W2dC8JMhmz/WAI3QCaz2Ba8bkAnPKqLSn0LaKxkMfKsajGfVEVDhPAjk
VXNJutaiHb1JW6c0WG9sjxfWRWroGf/eLExy4wVgyvFcMrbPhnc=
=a0QX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.