From a57a7a6a164a6a7a55a728c328dce4137885a91c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 21 Mar 2025 12:21:08 +0900 Subject: [PATCH] test/sandbox: check type handling host_passthrough Signed-off-by: Ophestra --- test/sandbox/assert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sandbox/assert.go b/test/sandbox/assert.go index fff2604..3a7b31e 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