When running container-diff in integration tests, both stdout and stderr were being returned and unmarshalled into the container-diff json object. If container-diff was giving any error messages (such as, if it didn't have permissions to extract a file), this would fail even if ultimately no differences between the filesystems existed. I updated the RunCommands to only return stdout and print stderr if the command fails. |
||
|---|---|---|
| .. | ||
| context | ||
| dockerfiles | ||
| cleanup.go | ||
| cmd.go | ||
| gcs.go | ||
| images.go | ||
| integration_test.go | ||