tests/config/fail/event: add empty event test
[deliverable/barectf.git] / tests / common.bash
CommitLineData
bed7233f
PP
1barectf_assert_file_exists() {
2 pushd "$BATS_TEST_DIRNAME"
3
4 if [ ! -f "$1" ]; then
5 echo "FATAL: "$1" does not exist" 1>&2
6 return 1
7 fi
8
9 run barectf "$1"
10 local rc=$?
11 popd
12 return $rc
13}
This page took 0.023399 seconds and 4 git commands to generate.