tests/image: fix the selector

Using wildcard in quotes doesn't trigger shell expansion, therefore this
commit moves the wildcard out of the quotes
This commit is contained in:
Ondřej Budai 2020-09-23 11:19:29 +02:00
parent 7aca756156
commit ad969cdda7

View file

@ -19,9 +19,9 @@ test_divider () {
# Get a list of test cases.
get_test_cases () {
TEST_CASE_SELECTOR="${ID}_${VERSION_ID%.*}-${ARCH}*.json"
TEST_CASE_SELECTOR="${ID}_${VERSION_ID%.*}-${ARCH}"
pushd $IMAGE_TEST_CASES_PATH > /dev/null
ls "$TEST_CASE_SELECTOR"
ls "$TEST_CASE_SELECTOR"*.json
popd > /dev/null
}