El 25/5/25 a las 19:32, Reinhard Tartler escribió:
Any idea why this might work for me when using the unshare backend?
No idea, but I asked the failing function to print the options themselves, like this: - if len(m.Options) != 1 { - t.Errorf("expected 1 mount option but got %d", len(m.Options)) - } + if len(m.Options) != 1 { + t.Fatalf("expected 1 mount option but got %d: %+v", len(m.Options), m.Options) + } and it showed this: === RUN TestOverlayView snapshot_test.go:696: expected 1 mount option but got 2: [lowerdir=/tmp/TestOverlayView2389272231/001/snapshots/2/fs:/tmp/TestOverlayView2389272231/001/snapshots/1/fs userxattr] Is this meaningful for you? Thanks.