ceph/qa/workunits/suites/bonnie.sh

12 lines
192 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2009-12-08 00:48:35 +00:00
2010-04-14 17:08:42 +00:00
set -e
2009-12-08 00:48:35 +00:00
bonnie_bin=`which bonnie++`
[ $? -eq 1 ] && bonnie_bin=/usr/sbin/bonnie++
uid_flags=""
[ "`id -u`" == "0" ] && uid_flags="-u root"
$bonnie_bin $uid_flags -n 100