Currently, TEST_RPMS would be only using the last RPM.
Append each RPM path to TEST_RPMs instead,
Signed-off-by: Coiby Xu <coxu(a)redhat.com>
---
tests/scripts/build-scripts/test-base-image.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/scripts/build-scripts/test-base-image.sh
b/tests/scripts/build-scripts/test-base-image.sh
index 5e2d86a..afe1a97 100755
--- a/tests/scripts/build-scripts/test-base-image.sh
+++ b/tests/scripts/build-scripts/test-base-image.sh
@@ -6,7 +6,7 @@ for _rpm in $@; do
if [[ ! -e $_rpm ]]; then
perror_exit "'$_rpm' not found"
else
- TEST_RPMS=$(realpath "$_rpm")
+ TEST_RPMS="$TEST_RPMS $(realpath "$_rpm")"
fi
done
--
2.31.0