diff options
author | Nicholas Clark <nick@ccl4.org> | 2003-03-09 21:24:46 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-03-10 19:37:40 +0000 |
commit | 9d60fda321e877ece79517ad795f7f4cf63bb3a7 (patch) | |
tree | c5be4a4b25fa7740d9fc000e7ed28cae57832423 /lib/Config.t | |
parent | 0eb4e9318e9e5f9bee51283d7a41435212572036 (diff) | |
download | perl-9d60fda321e877ece79517ad795f7f4cf63bb3a7.tar.gz |
Re: [perl #21505] 5.8.0 lib/Config test failure due to compiler flag
Message-ID: <20030309212445.GE277@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@18888
Diffstat (limited to 'lib/Config.t')
-rw-r--r-- | lib/Config.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Config.t b/lib/Config.t index f13b40208d..99a39a49f8 100644 --- a/lib/Config.t +++ b/lib/Config.t @@ -62,8 +62,8 @@ ok(exists $Config{ccflags_nolargefiles}, "has ccflags_nolargefiles"); } } -like(Config::myconfig(), qr/osname=$Config{osname}/, "myconfig"); -like(Config::config_sh(), qr/osname='$Config{osname}'/, "config_sh"); +like(Config::myconfig(), qr/osname=\Q$Config{osname}\E/, "myconfig"); +like(Config::config_sh(), qr/osname='\Q$Config{osname}\E'/, "config_sh"); like(join("\n", Config::config_re('c.*')), qr/^c.*?=/, 'config_re' ); @@ -79,7 +79,7 @@ $out->clear; untie *STDOUT; -like($out1, qr/^cc='$Config{cc}';/, "config_vars cc"); +like($out1, qr/^cc='\Q$Config{cc}\E';/, "config_vars cc"); like($out2, qr/^d_bork='UNKNOWN';/, "config_vars d_bork is UNKNOWN"); # Read-only. |