#!/usr/bin/env bash

. ../common.sh

init "accumulation of counts in fork()ed children"

compile_c foo.c
link foo foo.o

run foo 1 2
run foo 3 4

run_gcov foo.c
run_tggcov foo.c
compare_lines foo.c
compare_counts foo.c
