f-95: watchdog: MAC non figée sur le tap signalée #95
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
7e0b03ae6d
commit
2f0310d5bc
2 changed files with 26 additions and 0 deletions
|
|
@ -267,3 +267,10 @@ func TestCheckVMs_ClesDeDisqueNeCreentPasDeFausseVM(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestTapMACProblem_InvalidMACInDatabase(t *testing.T) {
|
||||
got := tapMACProblem("52:54:00:zz:01:32", 12345678)
|
||||
if !strings.HasPrefix(got, `invalid mac "52:54:00:zz:01:32" in database`) {
|
||||
t.Errorf("tapMACProblem = %q", got)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue