develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000324.057] 5.6.0 fails lib/glob-basic, test 2 (patch included)

From:
Warren Jones
Date:
March 24, 2000 15:15
Subject:
[ID 20000324.057] 5.6.0 fails lib/glob-basic, test 2 (patch included)
Message ID:
20000324151459.E29038@wauna.tc.fluke.com
I just built Perl 5.6.0 for Solaris 2.5.
Everything went smoothly (Thanks, perl5-porters!),
except for one tiny glitch:  lib/glob-basic test 2
failed because it wasn't expecting that I had
my source tree under CVS control, and there was
a ".cvsignore" file in the "t" subdirectory.
The patch included below fixes this.

-- 
Warren Jones
Fluke Corporation

----------------------------- snip snip -----------------------------

Index: glob-basic.t
===================================================================
RCS file: /usr0/sweng/src/active/CVS.repo/perl/t/lib/glob-basic.t,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 glob-basic.t
--- glob-basic.t	2000/03/24 17:11:22	1.1.1.1
+++ glob-basic.t	2000/03/24 22:27:18
@@ -27,7 +27,7 @@
 delete @ENV{BASH_ENV, CDPATH, ENV, IFS};
 @correct = ();
 if (opendir(D, ".")) {
-   @correct = grep { !/^\.\.?$/ } sort readdir(D);
+   @correct = grep { !/^\./ } sort readdir(D);
    closedir D;
 }
 @a = File::Glob::glob("*", 0);



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About