test/image: Fix test cases directory path in doc and code

The directory with image-tests test cases has been renamed from `cases`
to `manifests`. This has not been previously reflected in the test/README.md
and osbuild-image-tests code. osbuild-image-tests hardcodes the test
cases directory path and uses it in case no test case are passed
to it on the command line. Since the image_tests.sh CI test case looks
for image-tests test cases in the correct directory and passes the
relevant ones to osbuild-image-tests, the CI didn't detect this issue.

Running osbuild-images-tests without any argument and let it run all
test cases from the default test cases directory as part of CI probably
does not make sense. Due to this reason, I'm not adding any new test.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-01-11 14:28:12 +01:00 committed by Ondřej Budai
parent cb894ccf68
commit fc6fbec32f
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ tests, see `.github/workflows/tests.yml`.
## Image tests
In the `test/data/cases` directory, sample image builds and their tests are
In the `test/data/manifests` directory, sample image builds and their tests are
collected for the various distros, architectures, configuration we support.
Each test case describes how the image is built, the expected osbuild