blob: e619e4cc633a5eb5cc1fed7a9179e7f31e386b9f [file]
source `dirname $0`/util.sh
record $TESTNAME 100 &
for i in $(seq 1 30); do
sleep 0.01
kill -CHLD $rrpid $(pidof $TESTNAME-$nonce) >& /dev/null
done
# Wait for 'record' to actually terminate. Otherwise we might start
# replaying before the trace file has been completely written.
wait
echo "Replaying ..."
replay
check 'EXIT-SUCCESS'