Skip to content
GitLab
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
b1f8d5de
Commit
b1f8d5de
authored
Feb 14, 2008
by
Kevin Atkinson
Browse files
Fixes for traceroute test for Fedora 8.
parent
4a73a5f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
image-test/ImageTest.pm
View file @
b1f8d5de
...
...
@@ -205,9 +205,9 @@ sub test_rcmd ($$$$;&) {
#
sub
test_traceroute
($$@)
{
my
(
$src
,
$dest
,
@path
)
=
@_
;
test_rcmd
"
traceroute-
${src}
_
$dest
",
[]
,
$src
,
"
/usr/sbin/
traceroute
$dest
",
test_rcmd
"
traceroute-
${src}
_
$dest
",
[]
,
$src
,
"
traceroute
$dest
",
sub
{
local
@
_
=
split
/\n/
;
local
@
_
=
grep
{
!
/^traceroute/
}
split
/\n/
;
if
(
@
_
+
0
!=
@path
+
0
)
{
printf
"
*** traceroute
$src
->
$dest
: expected %d hops but got %d.
\n
",
@path
+
0
,
@
_
+
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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