Whamcloud - gitweb
simplify dbench test.
authorshadow <shadow>
Mon, 4 Aug 2008 06:36:00 +0000 (06:36 +0000)
committershadow <shadow>
Mon, 4 Aug 2008 06:36:00 +0000 (06:36 +0000)
more flexibility for find clients.txt
b=15608
i=adilger
i=grev

lustre/tests/acceptance-small.sh

index 89b2e16..6f4d288 100755 (executable)
@@ -117,14 +117,14 @@ for NAME in $CONFIGS; do
                duration=""
                [ "$SLOW" = "no" ] && duration=" -t 120"
                if [ "$SLOW" != "no" -o $DB_THREADS -eq 1 ]; then
-                       DIR=$DBENCHDIR $myRUNAS bash rundbench 1 $duration
+                       $myRUNAS bash rundbench -D $DBENCHDIR 1 $duration || error "dbench failed!"
                        $DEBUG_ON
                        $CLEANUP
                        $SETUP
                fi
                if [ $DB_THREADS -gt 1 ]; then
                        $DEBUG_OFF
-                       DIR=$DBENCHDIR $myRUNAS bash rundbench $DB_THREADS $duration
+                       $myRUNAS bash rundbench -D $DBENCHDIR $DB_THREADS $duration
                        $DEBUG_ON
                        $CLEANUP
                        $SETUP