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
9007d758
Commit
9007d758
authored
Jun 22, 2010
by
Mike Hibler
Browse files
Merge remote branch 'central/master'
parents
039dec51
45a5c7c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/assign_wrapper2.in
View file @
9007d758
...
...
@@ -68,7 +68,11 @@ if ($exitcode) {
# Pull out relevent info
print
SERR
"
ASSIGN FAILED:
\n
";
while
((
shift
@out
)
!~
/^[\w\s]*precheck:$/
)
{}
while
((
$_
=
shift
@out
)
&&
!
/^[\w\s]*precheck:$/
)
{}
if
(
not
defined
$_
)
{
tberror
({
cause
=>
'
internal
'},
"
Invalid Assign Output (expected
\"
precheck:
\"
line).
");
}
while
((
$_
=
shift
@out
))
{
/^[\w\s]*precheck:$/
&&
do
{
next
;
...
...
@@ -81,7 +85,11 @@ if ($exitcode) {
push
@err
,
$_
;
}
if
(
$violations
)
{
while
((
shift
@out
)
!~
/^Violations:/
)
{}
while
((
$_
=
shift
@out
)
&&
!
/^Violations:/
)
{}
if
(
not
defined
$_
)
{
tberror
({
cause
=>
'
internal
'},
"
Invalid Assign Output (expected
\"
Violations:
\"
line).
");
}
while
((
$_
=
shift
@out
))
{
if
(
/^Nodes:/
)
{
last
;
...
...
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