summaryrefslogtreecommitdiff
path: root/sql/modules/test/admin.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/modules/test/admin.sql')
-rw-r--r--sql/modules/test/admin.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/modules/test/admin.sql b/sql/modules/test/admin.sql
new file mode 100644
index 00000000..0b8eb1b2
--- /dev/null
+++ b/sql/modules/test/admin.sql
@@ -0,0 +1,13 @@
+BEGIN;
+\i Base.sql
+
+\echo no tests yet!
+
+SELECT * FROM test_result;
+
+SELECT (select count(*) from test_result where success is true)
+|| ' tests passed and '
+|| (select count(*) from test_result where success is not true)
+|| ' failed' as message;
+
+ROLLBACK;