aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/test-auditor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-xsrc/auditor/test-auditor.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 57b017d28..edf5fec59 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1872,6 +1872,12 @@ else
fi
fi
-check_with_database "auditor-basedb"
+# run tests with pre-build database, if one is available
+if test -x auditor-basedb.mpub
+then
+ check_with_database "auditor-basedb"
+else
+ fail=77
+fi
exit $fail