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-stable
Commits
b502fd8a
Commit
b502fd8a
authored
Dec 10, 2003
by
Leigh B. Stoller
Browse files
Fix up the DB state that is expected. There were a bunch of things
wrong.
parent
4ae56eb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/tbcmd/test
View file @
b502fd8a
...
...
@@ -19,15 +19,15 @@ tb_compare("select vname,delay,bandwidth,lossrate,member from virt_lans" .
["0:1.0.0.2","node1","pc"],
["0:1.0.0.4","node2","pc"],
["0:1.0.0.3","node3","pc"],
["0:1.0.4.1 1:1
92.168
.1.4","node4","pc"],
["0:1
92.168
.1.2","s5","pc"],
["0:1
92.168
.1.3","s6","pc"],
["0:1.0.4.1 1:1
0.1
.1.4","node4","pc"],
["0:1
0.1
.1.2","s5","pc"],
["0:1
0.1
.1.3","s6","pc"],
);
tb_compare("select ips,vname,type from virt_nodes" .
" where pid=\"testbed\" and eid=\"test\"",\@result);
@result = (
["0:1.0.4.1 1:1
92.168
.1.4","MYOS","my command line","my
node
rpms","
deltas!","
my node startup","dira tara
:
dirb tarb
:
dirc tarc","nonfatal","pc"], );
tb_compare("select ips,osname,cmd_line,rpms,
deltas,
startupcmd,tarfiles,failureaction,type" .
["0:1.0.4.1 1:1
0.1
.1.4","MYOS","my command line","
/
my
;/
node
;/
rpms","my node startup","
/
dira
/
tara
;/
dirb
/
tarb
;/
dirc
/
tarc","nonfatal","pc"], );
tb_compare("select ips,osname,cmd_line,rpms,startupcmd,tarfiles,failureaction,type" .
" from virt_nodes where pid=\"testbed\" and eid=\"test\"" .
" and vname=\"node4\"",\@result);
tb_run("tbswap in",0);
...
...
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