diff --git a/doc/ref/misc-modules.texi b/doc/ref/misc-modules.texi index 42b74fcc6..532203421 100644 --- a/doc/ref/misc-modules.texi +++ b/doc/ref/misc-modules.texi @@ -1254,7 +1254,8 @@ Return the list of the names of files contained in directory @var{name} that match predicate @var{select?} (by default, all files). The returned list of file names is sorted according to @var{entry (file-system-fold enter? leaf down up skip '() name stat) + (and=> (file-system-fold enter? leaf down up skip #f name stat) (lambda (files) (sort files entry))) (match (scandir (string-append %test-dir "/tests") select?) (("." ".." "00-initial-env.test" (? select?) ...) - #t))))) + #t)))) + + (pass-if "flat file" + (not (scandir (string-append %test-dir "/Makefile.am")))))