11693: Detect and error on symlinks pointing to locations outside the output directory.
[arvados.git] / services / crunch-run / crunchrun_test.go
index 64eed2c1d3df6da7a5c18e5d197897a8f2731614..37fe32a4dd0e067e457dbaa288c5e0815ceb1124 100644 (file)
@@ -1491,7 +1491,7 @@ func (s *TestSuite) TestOutputError(c *C) {
        extraMounts := []string{}
 
        api, _, _ := FullRunHelper(c, helperRecord, extraMounts, 0, func(t *TestDockerClient) {
-               os.Symlink("/does/not/exist", t.realTemp+"/2/baz")
+               os.Symlink("/etc/hosts", t.realTemp+"/2/baz")
                t.logWriter.Close()
        })