FIX: Boostrap-perf array assignment 82/14382/2
authorPeter Mikus <pmikus@cisco.com>
Tue, 21 Aug 2018 08:27:55 +0000 (08:27 +0000)
committerPeter Mikus <pmikus@cisco.com>
Tue, 21 Aug 2018 08:30:09 +0000 (08:30 +0000)
Change-Id: I4d7c27dd182ae8e7b68b5f6342c163ac3615cad2
Signed-off-by: Peter Mikus <pmikus@cisco.com>
bootstrap-verify-perf.sh

index 2cf61a8..8134a0c 100755 (executable)
@@ -78,16 +78,16 @@ fi
 # TOPOLOGY SELECTION
 case "$TEST_CODE" in
     *2n-skx*)
-        TOPOLOGIES=$TOPOLOGIES_2N_SKX
+        TOPOLOGIES=${TOPOLOGIES_2N_SKX[@]}
         TOPOLOGIES_TAGS="2_node_*_link_topo"
         ;;
     *3n-skx*)
-        TOPOLOGIES=$TOPOLOGIES_3N_SKX
+        TOPOLOGIES=${TOPOLOGIES_3N_SKX[@]}
         TOPOLOGIES_TAGS="3_node_*_link_topo"
         ;;
     *)
         # Fallback to 3-node Haswell by default (backward compatibility)
-        TOPOLOGIES=$TOPOLOGIES_3N_HSW
+        TOPOLOGIES=${TOPOLOGIES_3N_HSW[@]}
         TOPOLOGIES_TAGS="3_node_*_link_topo"
         ;;
 esac