Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
c2a9862d
Commit
c2a9862d
authored
Apr 29, 2017
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More little fixes for doc strings and node/link variable names.
parent
79551296
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
apt/APT_Rspec.pm.in
apt/APT_Rspec.pm.in
+11
-5
No files found.
apt/APT_Rspec.pm.in
View file @
c2a9862d
...
...
@@ -105,8 +105,9 @@ sub new($$;$)
my
$
text
=
$
child
->
textContent
();
#
Trim
for
rtecheck
.
$
text
=~
s
/^\
s
+//;
$
text
=~
s
/\
s
+$//
g
;
$
text
=~
s
/\
s
+$//
s
;
$
text
=~
s
/\
"/
\\
"
/
g
;
$
text
=~
s
/\
t
/\\
t
/
g
;
$
tour
->{
'description'
}
=
{
"text"
=>
$
text
,
"type"
=>
$
type
,
...
...
@@ -118,10 +119,11 @@ sub new($$;$)
my
$
text
=
$
child
->
textContent
();
#
Trim
for
rtecheck
.
$
text
=~
s
/^\
s
+//;
$
text
=~
s
/\
s
+$//
g
;
$
text
=~
s
/\
s
+$//
s
;
#
This
happens
a
lot
.
if
($
text
ne
""
)
{
$
text
=~
s
/\
"/
\\
"
/
g
;
$
text
=~
s
/\
t
/\\
t
/
g
;
$
tour
->{
'instructions'
}
=
{
"text"
=>
$
text
,
"type"
=>
$
type
,
...
...
@@ -724,7 +726,7 @@ sub CompareLinks($$)
$
iface_id
=
$
altid
;
}
else
{
print
STDERR
"$altid
\n
"
;
#
print
STDERR
"$altid
\n
"
;
print
STDERR
"iface $iface_id in link $client_id "
.
"in rspec one but not rspec two
\n
"
;
return
1
;
...
...
@@ -781,8 +783,10 @@ sub new($$$$$)
#
Make
up
a
tag
(
variable
for
the
script
)
that
makes
some
kind
of
sense
.
#
my
$
tag
=
$
client_id
;
#
Replace
dashes
with
underscores
.
#
Replace
dashes
/
spaces
/
dots
with
underscores
.
$
tag
=~
s
/\-/\
_
/
g
;
$
tag
=~
s
/\
/\
_
/
g
;
$
tag
=~
s
/\./\
_
/
g
;
if
($
tag
!~ /^node/i) {
$
tag
=
"node_${tag}"
;
}
...
...
@@ -1328,8 +1332,10 @@ sub new($$$$)
#
Make
up
a
tag
(
variable
for
the
script
)
that
makes
some
kind
of
sense
.
#
my
$
tag
=
$
client_id
;
#
Replace
dashes
with
underscores
.
#
Replace
dashes
/
spaces
/
dots
with
underscores
.
$
tag
=~
s
/\-/\
_
/
g
;
$
tag
=~
s
/\
/\
_
/
g
;
$
tag
=~
s
/\./\
_
/
g
;
if
($
tag
!~ /^link/i) {
$
tag
=
"link_${tag}"
;
}
...
...
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