From f908c5395c24da621e5e30814a7a3e4fb76abcbc Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Tue, 20 Mar 2018 14:44:54 +0100 Subject: utils: Use 'scandir' instead of custom 'for-each-file' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * src/mcron/utils.scm (for-each-file): Delete. * src/mcron/scripts/cron.scm (process-files-in-system-directory): Use 'scandir' which has the benefit of being deterministic. * src/mcron/scripts/mcron.scm (process-files-in-user-directory): Likewise. * tests/schedule.sh: Update expected output which is now more reliable. * NEWS: Update. Suggested-by: Ludovic Courtès --- tests/schedule.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'tests/schedule.sh') diff --git a/tests/schedule.sh b/tests/schedule.sh index 5ea79e5..d403f1d 100644 --- a/tests/schedule.sh +++ b/tests/schedule.sh @@ -40,15 +40,11 @@ cat > cron/bar.guile < expected < output -- cgit v1.2.3