From: Mathieu Desnoyers Date: Mon, 9 Jul 2012 13:44:52 +0000 (-0400) Subject: Compatibility: remove bash-ismsm from test scripts X-Git-Tag: v0.7.4~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=31bb09e25620ac7619a83146e002e73ed381d107;p=userspace-rcu.git Compatibility: remove bash-ismsm from test scripts += is not supported by all shells. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/runall.sh b/tests/runall.sh index bd1f961..6072aca 100755 --- a/tests/runall.sh +++ b/tests/runall.sh @@ -44,7 +44,7 @@ for BATCH_SIZE in ${BATCH_ARRAY}; do done #setting gc each 32768. ** UPDATE FOR YOUR ARCHITECTURE BASED ON TEST ABOVE ** -EXTRA_OPTS+="-b 32768" +EXTRA_OPTS="${EXTRA_OPTS} -b 32768" echo Executing update fraction test diff --git a/tests/runpaul-phase2.sh b/tests/runpaul-phase2.sh index 0f6bd91..bba9e3e 100755 --- a/tests/runpaul-phase2.sh +++ b/tests/runpaul-phase2.sh @@ -28,7 +28,7 @@ rm -f runall.log rm -fr runall.detail.log #setting gc each 32768. ** UPDATE FOR YOUR ARCHITECTURE BASED ON PHASE 1 RESULT ** -EXTRA_OPTS+="-b 32768" +EXTRA_OPTS="${EXTRA_OPTS} -b 32768" echo Executing update fraction test diff --git a/tests/runpaul-phase3.sh b/tests/runpaul-phase3.sh index 1956062..7c5f055 100755 --- a/tests/runpaul-phase3.sh +++ b/tests/runpaul-phase3.sh @@ -28,7 +28,7 @@ rm -f runall.log rm -fr runall.detail.log #setting gc each 32768. ** UPDATE FOR YOUR ARCHITECTURE BASED ON PHASE 1 RESULT ** -EXTRA_OPTS+="-b 32768" +EXTRA_OPTS="${EXTRA_OPTS} -b 32768" #Test scalability : # x: vary number of readers from 0 to num cpus diff --git a/tests/subphase4.sh b/tests/subphase4.sh index b69ffbf..d0d7587 100755 --- a/tests/subphase4.sh +++ b/tests/subphase4.sh @@ -44,7 +44,7 @@ for BATCH_SIZE in ${BATCH_ARRAY}; do done #setting gc each 4096. ** UPDATE FOR YOUR ARCHITECTURE BASED ON TEST ABOVE ** -EXTRA_OPTS+="-b 32768" +EXTRA_OPTS="${EXTRA_OPTS} -b 32768" echo Executing update fraction test