All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit b502fd8a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix up the DB state that is expected. There were a bunch of things

wrong.
parent 4ae56eb6
......@@ -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:192.168.1.4","node4","pc"],
["0:192.168.1.2","s5","pc"],
["0:192.168.1.3","s6","pc"],
["0:1.0.4.1 1:10.1.1.4","node4","pc"],
["0:10.1.1.2","s5","pc"],
["0:10.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:192.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:10.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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment