File: fix-configuration.patch

package info (click to toggle)
ruby-mysql2 0.5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,116 kB
  • sloc: ansic: 3,534; ruby: 3,447; sh: 297; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (2)
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
27
28
From: Antonio Terceiro <terceiro@debian.org>
Date: Thu, 30 Nov 2023 07:21:08 -0500
Subject: Use local user as root in spec/configuration.yml.example

Origin: vendor
Bug-Debian: https://bugs.debian.org/978251
Forwarded: not-needed
Last-Update: 2023-11-30

Starting with mariadb 10.5, it seems you cannot connect as root anymore. This
avoids that, as LOCALUSERNAME will be replaced by $USER when running the
tests.
---
 spec/configuration.yml.example | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/configuration.yml.example b/spec/configuration.yml.example
index 6024a1c..b8b560c 100644
--- a/spec/configuration.yml.example
+++ b/spec/configuration.yml.example
@@ -1,6 +1,6 @@
 root:
   host: localhost
-  username: root
+  username: LOCALUSERNAME
   password:
   database: test