Whamcloud - gitweb
LU-3208 tests: Fix typo in replay-single/70b
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Tue, 23 Apr 2013 15:56:23 +0000 (11:56 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 3 May 2013 05:02:14 +0000 (01:02 -0400)
Missing space in if statement, caused syntax error:

replay-single.sh: line 1912 [: missing `]`

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I2543f9b8fe41153d6109a64d2619a8443e700d9d
Reviewed-on: http://review.whamcloud.com/6131
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/replay-single.sh

index 07e7104..ed2531d 100755 (executable)
@@ -1911,7 +1911,7 @@ test_70b () {
        #LU-1897 wait for all dbench copies to start
        while ! check_for_process $clients dbench; do
                elapsed=$(($(date +%s) - start_ts))
        #LU-1897 wait for all dbench copies to start
        while ! check_for_process $clients dbench; do
                elapsed=$(($(date +%s) - start_ts))
-               if [ $elapsed -gt $duration]; then
+               if [ $elapsed -gt $duration ]; then
                        killall_process $clients dbench
                        error "dbench failed to start on $clients!"
                fi
                        killall_process $clients dbench
                        error "dbench failed to start on $clients!"
                fi