From: Michael G. Schwern Date: Wed, 30 May 2001 10:24:02 +0000 (+0100) Subject: sorting tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a1886d871e17678951b368183eafbb026549b03a;p=p5sagit%2Fp5-mst-13.2.git sorting tests Message-ID: <20010530102402.Q670@blackrider.blackstar.co.uk> p4raw-id: //depot/perl@10316 --- diff --git a/t/TEST b/t/TEST index 8f60c87..9dd34f3 100755 --- a/t/TEST +++ b/t/TEST @@ -54,7 +54,7 @@ my $updir = File::Spec->updir; sub _find_tests { my($dir) = @_; opendir DIR, $dir || die "Trouble opening $dir: $!"; - foreach my $f (readdir DIR) { + foreach my $f (sort { $a cmp $b } readdir DIR) { next if $f eq $curdir or $f eq $updir; my $fullpath = File::Spec->catdir($dir, $f);