summaryrefslogtreecommitdiffstats
path: root/debian/patches/0009-disable-database-tests.patch
blob: 7d008c89a93e1171aa61c21541ed8456b4952cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Skip the database tests
 The MySQL and PostgreSQL tests require a server with username,
 password and tables setup for the test, see doc/devel/unit-tests.dox.
 There's no way to instruct the build system to skip specific tests,
 so let's disable them with a patch.
Forwarded: not-needed
Author: Paride Legovini <paride.legovini@canonical.com>
Last-Update: 2020-12-03
--- a/src/bin/admin/tests/mysql_tests.sh.in
+++ b/src/bin/admin/tests/mysql_tests.sh.in
@@ -1,4 +1,6 @@
 #!/bin/sh
+echo "SKIPPING MYSQL TEST"
+exit 0
 
 # Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
 #
--- a/src/bin/admin/tests/pgsql_tests.sh.in
+++ b/src/bin/admin/tests/pgsql_tests.sh.in
@@ -1,4 +1,6 @@
 #!/bin/sh
+echo "SKIPPING POSTGRESQL TEST"
+exit 0
 
 # Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC")
 #