mirror of
https://github.com/ceph/ceph
synced 2024-12-21 02:42:48 +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>
13 lines
178 B
Bash
Executable File
13 lines
178 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
wget http://download.ceph.com/qa/wac.c
|
|
gcc -o wac wac.c
|
|
set +e
|
|
timeout 5m ./wac -l 65536 -n 64 -r wac-test
|
|
RET=$?
|
|
set -e
|
|
[[ $RET -eq 124 ]]
|
|
echo OK
|