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:
parent
7aca756156
commit
ad969cdda7
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue