From: YAMAMOTO Takashi Date: Thu, 10 Apr 2014 00:32:36 +0000 (+0900) Subject: learn.at: Fix a shell syntax X-Git-Tag: sliver-openvswitch-2.2.90-1~5^2~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3ef64336465e1fde12d25fb8344be827cc1acdfa;hp=671a7fdff8ecd28554d09c32f06c3adb1d723ac5;p=sliver-openvswitch.git learn.at: Fix a shell syntax Fix a botch in commit 7f12bdcc. ("learn.at: Fix a race in "self-modifying flow with idle_timeout" test") Acked-by: Ben Pfaff Signed-off-by: YAMAMOTO Takashi --- diff --git a/tests/learn.at b/tests/learn.at index 42dd363fe..72452957d 100644 --- a/tests/learn.at +++ b/tests/learn.at @@ -352,7 +352,7 @@ for i in `seq 1 10`; do # (i % 3 == 0) below is somehow arbitrary but chosen to ensure # that we update the flow's 'used' frequently enough to prevent # idle_timeout. - if [[ $i -eq 1 -or $((i % 3)) -eq 0 ]]; then + if [[ $i -eq 1 -o $((i % 3)) -eq 0 ]]; then sleep 1 fi done