citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit b42620fdfa61e6ae920027d8e4dacf35a08c73f3
parent b621c0c36469ea637f323285e4e1827a579bc8d6
Author: Kyle Milz <kyle@0x30.net>
Date:   Sun, 14 Aug 2016 01:07:52 -0600

t: add new test for bad dir to citrun-check

Diffstat:
At/check_baddir.t | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/t/check_baddir.t b/t/check_baddir.t @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Verify that passing a bad directory to citrun-check errors out. +# +echo 1..2 +. test/utils.sh + +$TEST_TOOLS/citrun-check some_nonexistent_dir > check.out + +cat <<EOF > check.good +citrun-check: some_nonexistent_dir: no such directory +EOF + +check_diff 2