X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8cf467878d09a862054800604c247c64c84b4955..f93ba744038d79211a48105bd691e26e1770cc61:/lib/crunchrun/copier_test.go diff --git a/lib/crunchrun/copier_test.go b/lib/crunchrun/copier_test.go index 07fd795efe..5e92490163 100644 --- a/lib/crunchrun/copier_test.go +++ b/lib/crunchrun/copier_test.go @@ -132,7 +132,9 @@ func (s *copierSuite) TestSymlinkToMountedCollection(c *check.C) { PortableDataHash: arvadostest.FooCollectionPDH, Writable: true, } - s.cp.binds = append(s.cp.binds, bindtmp+":/mnt-w") + s.cp.bindmounts = map[string]bindmount{ + "/mnt-w": bindmount{HostPath: bindtmp, ReadOnly: false}, + } c.Assert(os.Symlink("../../mnt", s.cp.hostOutputDir+"/l_dir"), check.IsNil) c.Assert(os.Symlink("/mnt/foo", s.cp.hostOutputDir+"/l_file"), check.IsNil)