4 [ "$1" = "--serial" ] && parallel=0
7 [ -t 1 ] && color="--gtest_color=yes"
12 trap cleanup EXIT ERR HUP INT QUIT
17 api_aio api_io api_list api_lock api_misc \
18 api_tier api_pool api_snapshots api_stat api_watch_notify api_cmd \
20 api_c_write_operations \
21 api_c_read_operations \
24 delete_pools_parallel \
27 if [ $parallel -eq 1 ]; then
29 bash -o pipefail -exc "ceph_test_rados_$f $color 2>&1 | tee ceph_test_rados_$f.log | sed \"s/^/$r: /\"" &
31 echo "test $f on pid $pid"
39 if [ $parallel -eq 1 ]; then
40 for t in "${!pids[@]}"
45 echo "error in $t ($pid)"