Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix some bugs when testing opensds ansible
[stor4nfv.git]
/
src
/
ceph
/
qa
/
workunits
/
suites
/
bonnie.sh
1
#!/bin/bash
2
3
set -e
4
5
bonnie_bin=`which bonnie++`
6
[ $? -eq 1 ] && bonnie_bin=/usr/sbin/bonnie++
7
8
uid_flags=""
9
[ "`id -u`" == "0" ] && uid_flags="-u root"
10
11
$bonnie_bin $uid_flags -n 100