RUN: mkdir -p %t.d
RUN: cd %t.d

RUN: %clang --coverage -o %t %S/../Inputs/instrprof-gcov-execlp.c
RUN: test -f instrprof-gcov-execlp.gcno

RUN: rm -f instrprof-gcov-execlp.gcda
RUN: %run %t
RUN: llvm-cov gcov -b -c instrprof-gcov-execlp.gcda
RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-execlp.c.gcov %S/../Inputs/instrprof-gcov-execlp.c.gcov
