Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
15b28b22
Commit
15b28b22
authored
Oct 07, 2001
by
jake%acutex.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow compile tests for files that run in taint mode
No review needed for tests at this time. NOT PART OF BUILD
parent
934948d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
001compile.t
t/001compile.t
+8
-1
Files.pm
t/Support/Files.pm
+2
-2
No files found.
t/001compile.t
View file @
15b28b22
...
...
@@ -53,7 +53,14 @@ $perlapp=$^X;
foreach $file (@testitems) {
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
next if (!$file); # skip null entries
$command = "$perlapp"." -c $file 2>&1";
open (FILE,$file);
my $bang = <FILE>;
close (FILE);
my $T = "";
if ($bang =~ m/#!\S*perl\s+-.*T/) {
$T = "T";
}
$command = "$perlapp"." -c$T $file 2>&1";
$loginfo=`$command`;
# print '@@'.$loginfo.'##';
if ($loginfo =~ /syntax ok$/im) {
...
...
t/Support/Files.pm
View file @
15b28b22
...
...
@@ -33,8 +33,8 @@
package
Support::
Files
;
@additional_files
=
(
'syncshadowdb'
);
@exclude_files
=
(
'
processmail'
,
'
importxml.pl'
);
@additional_files
=
(
'syncshadowdb'
,
'processmail'
);
@exclude_files
=
(
'importxml.pl'
);
$file
=
'*'
;
@files
=
glob
(
$file
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment