diff options
author | Jamie Liu <jamieliu@google.com> | 2020-07-30 14:13:11 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-30 14:18:11 -0700 |
commit | 3c70b4c986a2a6bb9b26f96e88f7fee878f29326 (patch) | |
tree | 6880877e35c9099f706af31cec1b9ae86ddd2cc3 /test | |
parent | 877fac48643772d3549b32d50b6d5f560770beb3 (diff) |
Implement overlayfs_stale_read for vfs2.
PiperOrigin-RevId: 324080111
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/integration_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/e2e/integration_test.go b/test/e2e/integration_test.go index ef42b689a..5465dee9b 100644 --- a/test/e2e/integration_test.go +++ b/test/e2e/integration_test.go @@ -431,11 +431,13 @@ func TestHostOverlayfsCopyUp(t *testing.T) { d := dockerutil.MakeContainer(ctx, t) defer d.CleanUp(ctx) - if _, err := d.Run(ctx, dockerutil.RunOpts{ + if got, err := d.Run(ctx, dockerutil.RunOpts{ Image: "basic/hostoverlaytest", WorkDir: "/root", }, "./test"); err != nil { t.Fatalf("docker run failed: %v", err) + } else if got != "" { + t.Errorf("test failed:\n%s", got) } } |