summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer/fsgofer_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-09-26 18:14:45 -0700
committergVisor bot <gvisor-bot@google.com>2019-09-26 18:16:02 -0700
commit8337e4f50955863c6aa3a7df70b1446b9dba66ae (patch)
tree7a870c8335f84dd3e39dadb6b0d38182ab0bd223 /runsc/fsgofer/fsgofer_test.go
parent543492650dd528c1d837d788dcd3b5138e8dc1c0 (diff)
Disallow opening of sockets if --fsgofer-host-uds=false
Updates #235 PiperOrigin-RevId: 271475319
Diffstat (limited to 'runsc/fsgofer/fsgofer_test.go')
-rw-r--r--runsc/fsgofer/fsgofer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/fsgofer/fsgofer_test.go b/runsc/fsgofer/fsgofer_test.go
index cbbe71019..05af7e397 100644
--- a/runsc/fsgofer/fsgofer_test.go
+++ b/runsc/fsgofer/fsgofer_test.go
@@ -665,7 +665,7 @@ func TestAttachInvalidType(t *testing.T) {
}
f, err := a.Attach()
if f != nil || err == nil {
- t.Fatalf("Attach should have failed, got (%v, nil)", f)
+ t.Fatalf("Attach should have failed, got (%v, %v)", f, err)
}
})
}