init_changelog
# Run dbench
- sh rundbench -C -D $DIR/$tdir 2 -t $DBENCH_TIME || error "dbench failed"
+ bash rundbench -C -D $DIR/$tdir 2 -t $DBENCH_TIME ||
+ error "dbench failed"
local LRSYNC_LOG=$(generate_logname "lrsync_log")
# Replicate the changes to $TGT
init_changelog
# Run dbench
- sh rundbench -C -D $DIR/$tdir 2 -t $DBENCH_TIME &
+ bash rundbench -C -D $DIR/$tdir 2 -t $DBENCH_TIME &
# wait for dbench to start
wait_for_function 'child_pid=$(pgrep dbench)' 360
# let dbench run for a bit
init_changelog
# Run dbench
- sh rundbench -C -D $DIR/$tdir 2 -t $DBENCH_TIME &
+ bash rundbench -C -D $DIR/$tdir 2 -t $DBENCH_TIME &
local LRSYNC_LOG=$(generate_logname "lrsync_log")
# Replicate the changes to $TGT