Project

General

Profile

Feature #19886 ยป 19886-prove-tests-unrun.patch

Brett Smith, 01/13/2023 12:04 AM

View differences:

lib/crunchrun/crunchrun_test.go
c.Check(v["ensure_unique_name"], Equals, true)
collection := v["collection"].(arvadosclient.Dict)
if strings.Index(collection["name"].(string), "output") == 0 {
c.Error("found TestStdoutWithMountPointsUnderOutputDirDenormalizedManifest output")
manifest := collection["manifest_text"].(string)
c.Check(manifest, Equals, `./a/b 307372fa8fd5c146b22ae7a45b49bc31+6 0:6:c.out
......
if v["collection"] != nil {
collection := v["collection"].(arvadosclient.Dict)
if strings.Index(collection["name"].(string), "output") == 0 {
c.Error("found TestStdoutWithMountPointsUnderOutputDirDenormalizedManifest output")
manifest := collection["manifest_text"].(string)
c.Check(manifest, Equals, `./a/b 307372fa8fd5c146b22ae7a45b49bc31+6 0:6:c.out
    (1-1/1)