Closed phracek closed 2 years ago
Would be much better to add a test for this part of the https://github.com/sclorg/container-common-scripts/blob/master/test.sh script. That way it would only be checked during the test upstream (or locally), it would fail very early (before the rest of the tests is run) and we would not have to add a test case to every single repository (a submodule update would be enough). @phracek WDYT?
@pkubatrh you are right. Just update container-common-scripts and check if files are generated properly before any other tests, makes sense.
@pkubatrh The container-common-scripts repository contains pull request where before calling any test generated files are checked. https://github.com/sclorg/container-common-scripts/pull/218
This pull request is not needed at all. We have PR https://github.com/sclorg/container-common-scripts/pull/275 which does it automatically.
This commit allows checking files generated by dist-gen.
If files are not generated properly, then the test fails.