diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-06-18 00:02:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-06-18 00:14:07 +0200 |
commit | d46c4423f46278bd2f96770ceb0667431414349e (patch) | |
tree | 60c92c81fa91db7b602ec7a6bdec8f6184b11e66 /tests/scripts.scm | |
parent | 3bacc655c5fd988f0199ef259adcb4fb3754042e (diff) | |
download | guix-d46c4423f46278bd2f96770ceb0667431414349e.tar.gz |
discovery: 'scheme-files' returns '() for a non-accessible directory.
Fixes a regression introduced in d27cc3bfaafe6b5b0831e88afb1c46311d382a0b. Reported by Ricardo Wurmus <rekado@elephly.net>. * guix/discovery.scm (scheme-files): Catch 'scandir*' system errors. Return '() and optionally raise a warning upon 'system-error'. * tests/discovery.scm ("scheme-modules, non-existent directory"): New test.
Diffstat (limited to 'tests/scripts.scm')
0 files changed, 0 insertions, 0 deletions