mirror of
https://github.com/ceph/ceph
synced 2024-12-20 10:23:24 +00:00
907bf5214d
This will make it to be much easier when debugging the qa tests failures. Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 lines
193 B
Bash
Executable File
12 lines
193 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
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
|