mirror of
https://github.com/ceph/ceph
synced 2024-12-26 21:43:10 +00:00
3aae5ca6fd
/bin/bash is a Linuxism. Other operating systems install bash to different paths. Use /usr/bin/env in shebangs to find bash. Signed-off-by: Alan Somers <asomers@gmail.com>
18 lines
277 B
Bash
Executable File
18 lines
277 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
echo "getting iogen"
|
|
wget http://download.ceph.com/qa/iogen_3.1p0.tar
|
|
tar -xvzf iogen_3.1p0.tar
|
|
cd iogen*
|
|
echo "making iogen"
|
|
make
|
|
echo "running iogen"
|
|
./iogen -n 5 -s 2g
|
|
echo "sleep for 10 min"
|
|
sleep 600
|
|
echo "stopping iogen"
|
|
./iogen -k
|
|
|
|
echo "OK"
|