#!/bin/sh
testArr[1]="echo 1"
choose=`expr $RANDOM % 5`
choose=`expr ${choose} + 1`
#then do the test by the random choose
${testArr[${choose}]};
~
~
testArr[1]="echo 1"
choose=`expr $RANDOM % 5`
choose=`expr ${choose} + 1`
#then do the test by the random choose
${testArr[${choose}]};
~
~