[libcgi-application-plugin-authentication-perl] 01/03: Add patch to adjust test to ouptput of newer SQLite3.

gregor herrmann gregoa at debian.org
Wed Jan 31 17:51:02 UTC 2018


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libcgi-application-plugin-authentication-perl.

commit 034bf29b7eadee4ee7dd5129a261c402ee3c546b
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jan 31 18:44:58 2018 +0100

    Add patch to adjust test to ouptput of newer SQLite3.
    
    Thanks: Niko Tyni for spotting the test failure on ci.debian.net.
---
 debian/patches/series               |  1 +
 debian/patches/sqlite3-3.22.0.patch | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index e69de29..d3fa71f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+sqlite3-3.22.0.patch
diff --git a/debian/patches/sqlite3-3.22.0.patch b/debian/patches/sqlite3-3.22.0.patch
new file mode 100644
index 0000000..4616474
--- /dev/null
+++ b/debian/patches/sqlite3-3.22.0.patch
@@ -0,0 +1,21 @@
+Description: Adjust tests to SQLite 3.22.0 which outputs a different error message.
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2018-01-31
+Forwarded: https://github.com/cees/cgi-application-plugin-authentication/pull/4
+Bug: https://github.com/cees/cgi-application-plugin-authentication/pull/4
+
+--- a/t/53_driver_dbi_bad.t
++++ b/t/53_driver_dbi_bad.t
+@@ -98,9 +98,9 @@
+         [ 'user1', '123' ],
+         [ 'user2', '123' ],
+     );}
+-   qr/Error executing class callback in prerun stage: Failed to prepare SQL statement:  near " "/,
++   qr/Error executing class callback in prerun stage: Failed to prepare SQL statement:  (near " "|incomplete input)/,
+    "DBI syntax error";}
+-   qr/DBD::SQLite::db prepare_cached failed: near " ": syntax error/, "DBD:SQLite";
++   qr/DBD::SQLite::db prepare_cached failed: (near " ": syntax error|incomplete input)/, "DBD:SQLite";
+ }
+ 
+ {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-application-plugin-authentication-perl.git



More information about the Pkg-perl-cvs-commits mailing list