diff options
author | Michael G. Schwern <schwern@pobox.com> | 2001-05-30 11:24:02 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-30 12:40:46 +0000 |
commit | a1886d871e17678951b368183eafbb026549b03a (patch) | |
tree | da1bceebaa17c977a8d6e4c07479d5340f441c58 /t/TEST | |
parent | 9b9391b2137d0d888bfc6470939bf27aafb72518 (diff) | |
download | perl-a1886d871e17678951b368183eafbb026549b03a.tar.gz |
sorting tests
Message-ID: <20010530102402.Q670@blackrider.blackstar.co.uk>
p4raw-id: //depot/perl@10316
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |