#!/bin/bash . common_func.sh || error_out echo -n "Estimating fork overhead... " FORK_OVERHEAD=$(calculate_curl_fork_overhead) echo "done!" # # TEST DEFINITION # test_invitation() { for n in $(seq $SOGO_TEST_ITERATIONS); do start_date=$(/bin/date -d "today +$(($n-1)) hour" "+%Y%m%dT%H%M%S") end_date=$(/bin/date -d "today +$n hour" "+%Y%m%dT%H%M%S")= results=($(shuf -i 1-$SOGO_CONCURRENCY_LIMIT -n 3 | grep -v "^$1\$")) attendee1=${results[0]} attendee2=${results[1]} calendar_data=$(cat <