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
a9223933
Commit
a9223933
authored
Jul 26, 2000
by
Christopher Alfeld
Browse files
Changed to have ptop file in /tmp
parent
1c0eafe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbprerun.tcl
View file @
a9223933
...
...
@@ -31,7 +31,7 @@ set assign "$updir/ir/assign.tcl"
set handle_ip
"
$updir
/ir/handle_ip.tcl"
set avail
"
$updir
/db/avail"
set ptopgen
"
$updir
/db/ptopgen"
set ptopfile
"
$updir
/ir
/testbed.ptop"
set ptopfile
"
/tmp
/testbed
[
pid
]
.ptop"
set reserve
"
$updir
/db/nalloc"
set libir
"
$updir
/ir/libir.tcl"
...
...
@@ -82,7 +82,7 @@ if {[catch "exec $avail type=pc ver extras | $ptopgen > $ptopfile 2>@ $logFp" er
}
outs
"Allocating resources - This may take a while."
if
{[
catch
"exec
$assign
$ir
File >@
$log
Fp 2>@
$log
Fp"
err
]}
{
if
{[
catch
"exec
$assign
$ir
File
$ptopfile
>@
$log
Fp 2>@
$log
Fp"
err
]}
{
outs stderr
"Error allocating resources. (
$err
)"
exit 1
}
...
...
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