#!/bin/bash . common_func.sh || error_out echo -n "Estimating fork overhead... " FORK_OVERHEAD=$(calculate_curl_fork_overhead) echo "done!" # # TEST DEFINITION # test_events_insert() { 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") calendar_data=$(cat <