Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
44a9ba4c
Commit
44a9ba4c
authored
Oct 18, 2005
by
Leigh B. Stoller
Browse files
Minor output tweaks so that user is less confused about what has happened.
parent
e4a38b1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
event/linktest/run_linktest.pl.in
View file @
44a9ba4c
...
...
@@ -299,7 +299,7 @@ else {
my
$eventargs
=
$
2
;
if
((
$eventtype
eq
$STOPEVENT
)
||
(
$eventtype
eq
$COMPLETEEVENT
))
{
print
"
Linktest completed
normally
.
\n
"
print
"
Linktest completed.
\n
"
if
(
$verbose
);
last
;
}
...
...
@@ -342,6 +342,12 @@ sub analyze {
unlink
(
$logfile
)
if
(
defined
(
$logfile
));
return
0
if
(
!
@dir_contents
);
print
"
***************************************************************
\n
";
print
"
***************** Linktest Error Reports **********************
\n
";
foreach
my
$file
(
@dir_contents
)
{
# Hmm, need to taint check the filenames. Ick.
if
(
$file
=~
/^([-\w\.\/]+)$/
)
{
...
...
@@ -366,6 +372,7 @@ sub analyze {
system
("
/bin/cat
$linktest_path
/
$file
");
}
}
print
"
***************************************************************
\n
";
return
scalar
(
@dir_contents
);
}
...
...
Write
Preview
Supports
Markdown
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