summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2001-05-30 11:24:02 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-30 12:40:46 +0000
commita1886d871e17678951b368183eafbb026549b03a (patch)
treeda1bceebaa17c977a8d6e4c07479d5340f441c58 /t/TEST
parent9b9391b2137d0d888bfc6470939bf27aafb72518 (diff)
downloadperl-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-xt/TEST2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/TEST b/t/TEST
index 8f60c8701c..9dd34f35b0 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);