Readability improvement

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/scripts/run-metatests.sh b/tests/scripts/run-metatests.sh
index 09a6f8a..22a302c 100755
--- a/tests/scripts/run-metatests.sh
+++ b/tests/scripts/run-metatests.sh
@@ -46,7 +46,7 @@
 
 list_matches () {
     while read name platform junk; do
-        for pattern; do
+        for pattern in "$@"; do
             case $platform in
                 $pattern) echo "$name"; break;;
             esac