test/sandbox: check mount table length
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
61d86c5e10
commit
3dd4ff29c8
@ -70,6 +70,10 @@ func (t *T) MustCheck(want *TestCase) {
|
||||
fatalf("%v", err)
|
||||
}
|
||||
|
||||
if i != len(want.Mount) {
|
||||
fatalf("got %d entries, want %d", i, len(want.Mount))
|
||||
}
|
||||
|
||||
if fail {
|
||||
fatalf("[FAIL] some mount points did not match")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user