aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/assert.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/sandbox/assert.go')
-rw-r--r--test/sandbox/assert.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/sandbox/assert.go b/test/sandbox/assert.go
index f5d9e391..43cdd9d4 100644
--- a/test/sandbox/assert.go
+++ b/test/sandbox/assert.go
@@ -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")
}