diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/sandbox/assert.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sandbox/assert.go b/test/sandbox/assert.go index fff26047..3a7b31ed 100644 --- a/test/sandbox/assert.go +++ b/test/sandbox/assert.go @@ -40,7 +40,7 @@ func MustAssertMounts(name, hostMountsFile, wantFile string) { for i := range want { if want[i].Opts == "host_passthrough" { for _, ent := range hostMounts { - if want[i].FSName == ent.FSName { + if want[i].FSName == ent.FSName && want[i].Type == ent.Type { // special case for tmpfs bind mounts if want[i].FSName == "tmpfs" && want[i].Dir != ent.Dir { continue |
