diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-10-01 13:55:58 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-01 13:57:36 -0700 |
commit | d185552e79e19bd25cdcf64c123712086c48ae58 (patch) | |
tree | 0e91a476d027f24675c7e216cb71e4262a5dea34 /runsc/test/image | |
parent | 07aa040842cfd31a0c6e851900173d02dd01c7fe (diff) |
Fix ruby image tests.
PiperOrigin-RevId: 215274663
Change-Id: I051721f459084db3aa608432831170cd47ae7df0
Diffstat (limited to 'runsc/test/image')
-rw-r--r-- | runsc/test/image/image_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/test/image/image_test.go b/runsc/test/image/image_test.go index 1696de6f1..5048ffdd7 100644 --- a/runsc/test/image/image_test.go +++ b/runsc/test/image/image_test.go @@ -273,7 +273,7 @@ func TestRuby(t *testing.T) { t.Fatalf("os.Chmod(%q, 0333) failed: %v", dir, err) } - if _, err := d.Run("-p", "8080", "-v", testutil.MountArg(dir, "/src:ro"), "ruby", "/src/ruby.sh"); err != nil { + if err := d.Run("-p", "8080", testutil.MountArg(dir, "/src", testutil.ReadOnly), "ruby", "/src/ruby.sh"); err != nil { t.Fatalf("docker run failed: %v", err) } defer d.CleanUp() |