diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 02:29:12 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 02:29:12 +0100 |
commit | f7178c147fb776563c6aa71b87a102e749093f51 (patch) | |
tree | 62278e4f98eff3157d82693531a6f395c8f38808 /t/prep.pl | |
parent | 06de74c968a4310a68f80e6366a82039dfd76e77 (diff) | |
download | sbotools2-f7178c147fb776563c6aa71b87a102e749093f51.tar.xz |
Bring tests up to date
Diffstat (limited to 't/prep.pl')
-rwxr-xr-x | t/prep.pl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -24,6 +24,7 @@ for my $thing (qw(interactive compat32 no_readme jobs distclean noclean pr($thing); } +print {$write} "use List::Util 'max';\n"; print {$write} "my \%required_by;\n"; print {$write} "our \@confirmed;\n"; print {$write} "my \%locations;\n"; @@ -93,7 +94,8 @@ FIRST: for my $line (@file) { if ($line =~ /our \@EXPORT_OK/) { $line = "our \@EXPORT_OK = qw(". join ' ', @not_exported; } - $line =~ s/^/#/ if $line =~ /^read_config;$/; + $line =~ s/^/#/ if $line =~ /^(read_config;|__END__)$/; + $line =~ s/^/1; #/ if $line =~ /^'ok';$/; } my $found = 0; |