diff --git a/collects/tests/racket/stress/fuzz.rkt b/collects/tests/racket/stress/fuzz.rkt index 1c68bd67fd..6e7c56e10f 100644 --- a/collects/tests/racket/stress/fuzz.rkt +++ b/collects/tests/racket/stress/fuzz.rkt @@ -46,8 +46,12 @@ (random-seed global-seed) (let loop () (cond [file (run file seed0)] - [dir (for ([p (in-directory dir)] - #:when (regexp-match #rx"\\.zo" p)) - (run p seed0))] + [dir + (define files (sort (for/list ([f (in-directory dir)] + #:when (regexp-match #rx"\\.zo" f)) + f) + #:key path->string + string