summaryrefslogtreecommitdiff
path: root/server/src/journal_commit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/journal_commit.cc')
-rw-r--r--server/src/journal_commit.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/src/journal_commit.cc b/server/src/journal_commit.cc
index c81ff09..ce344c4 100644
--- a/server/src/journal_commit.cc
+++ b/server/src/journal_commit.cc
@@ -143,3 +143,18 @@ int journal_commit(const char *cpr, const char *user,
return 0;
}
+
+#ifdef TEST_JOURNAL_COMMIT
+//deps: debug.cc log.cc
+//cflags: -I..
+//libs:
+#include <test.h>
+
+TEST_BEGIN;
+
+// TODO: Put some testcode here (see test.h for usable macros).
+TEST_TRUE(false, "No tests yet!");
+
+TEST_END;
+
+#endif/*TEST_JOURNAL_COMMIT*/