summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index bf62805414..ba5d09d233 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -24,6 +24,11 @@ oneoff(){
fi
}
+if ! test -e "$ref"; then
+ echo "reference file '$ref' not found"
+ exit 1
+fi
+
mkdir -p "$outdir"
eval $target_exec $command > "$outfile" 2>/dev/null || exit