Fix tests

This commit is contained in:
Tobias Schmidt 2014-11-24 18:30:07 -05:00
commit 974f6fc762
16 changed files with 206 additions and 151 deletions

View file

@ -13,10 +13,10 @@ func TestBonding(t *testing.T) {
t.Fatal("bond0 in unexpected state")
}
t.Logf("int: %v", bondingStats["int"])
if bondingStats["int"][0] != 2 || bondingStats["int"][1] != 1 {
t.Fatal("int in unexpected state")
}
if bondingStats["dmz"][0] != 2 || bondingStats["dmz"][1] != 2 {
t.Fatal("dmz in unexpected state")
}