hs-test: fix memleak testing 29/41829/2
authorMatus Fabian <[email protected]>
Wed, 13 Nov 2024 17:23:39 +0000 (18:23 +0100)
committerDave Wallace <[email protected]>
Thu, 14 Nov 2024 18:25:31 +0000 (18:25 +0000)
Type: fix

Change-Id: I8d88fc5ccb37cc18c785b5dca47c7f66afefb73a
Signed-off-by: Matus Fabian <[email protected]>
extras/hs-test/hs_test.sh

index a6288aa..59edf57 100644 (file)
@@ -128,7 +128,7 @@ if [ $leak_check_set -eq 1 ]; then
     echo -e "\e[1;31ma single test has to be specified when leak_check is set\e[1;0m"
     exit 2
   fi
-  ginkgo_args="--focus $tc_name"
+  ginkgo_args="--focus ${tc_names[0]}"
   sudo -E go run github.com/onsi/ginkgo/v2/ginkgo $ginkgo_args -- $args
   exit 0
 fi