[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pq 0501c66e6a 51/63: Add testcase for crash reported by
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pq 0501c66e6a 51/63: Add testcase for crash reported by "717g301github". |
Date: |
Mon, 14 Feb 2022 23:24:27 -0500 (EST) |
branch: externals/pq
commit 0501c66e6a6791c1b4ef93eca6b200373daf2a7f
Author: Andreas Seltenreich <seltenreich@gmx.de>
Commit: Andreas Seltenreich <seltenreich@gmx.de>
Add testcase for crash reported by "717g301github".
---
test.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test.el b/test.el
index 6be47b4d2f..956f9bb4c5 100644
--- a/test.el
+++ b/test.el
@@ -32,6 +32,10 @@
(ert-deftest pq-escape-test ()
(let ((conn (pq:connectdb *conninfo*)))
+ (should-error (pq:escapeLiteral "d"))
+ (should-error (pq:escapeIdentifier "d"))
+ (should-error (pq:escapeLiteral "'" "d"))
+ (should-error (pq:escapeIdentifier "'" "d"))
(should (equal (pq:escapeLiteral conn "mo'oo\"oo") "'mo''oo\"oo'"))
(should (equal (pq:escapeIdentifier conn "moo'oo\"oo")
"\"moo'oo\"\"oo\""))))
- [elpa] externals/pq 3026279578 48/63: Use pg_config with --includedir instead of --pkgincludedir., (continued)
- [elpa] externals/pq 3026279578 48/63: Use pg_config with --includedir instead of --pkgincludedir., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 56fde7b255 53/63: Improve docstrings., ELPA Syncer, 2022/02/14
- [elpa] externals/pq c9df58b1ac 49/63: Always look up t and nil instead of caching them., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 04c91e8374 63/63: add pq.el and move pq.c -> pq-core.c, ELPA Syncer, 2022/02/14
- [elpa] externals/pq 8cc484c68b 62/63: README: Fix typos., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 272b18abec 43/63: Makefile: Add dependency to check target., ELPA Syncer, 2022/02/14
- [elpa] externals/pq bec131bfae 61/63: README: Elaborate on usage., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 8044537122 23/63: Add testcase that provokes a NOTIFY., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 5566645359 56/63: Fix ERROR-DATA not being a list., ELPA Syncer, 2022/02/14
- [elpa] externals/pq d4c53f6461 55/63: Update README., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 0501c66e6a 51/63: Add testcase for crash reported by "717g301github".,
ELPA Syncer <=
- [elpa] externals/pq bc939f732e 30/63: Setup emacs ert tests, ELPA Syncer, 2022/02/14
- [elpa] externals/pq 555791fef3 18/63: Add GPLv3 license., ELPA Syncer, 2022/02/14
- [elpa] externals/pq d8bca4bbd0 33/63: test: Add case that garbage-collects user-pointers., ELPA Syncer, 2022/02/14
- [elpa] externals/pq e3e74a950a 39/63: Make garbage-collection test more robust., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 8c03aeb2ec 15/63: Fix nargs compatible pointer type, ELPA Syncer, 2022/02/14
- [elpa] externals/pq cbdff81a90 47/63: Make docstring punctuation consistent., ELPA Syncer, 2022/02/14
- [elpa] externals/pq 5486071191 50/63: travis-ci: Also test with Emacs 26., ELPA Syncer, 2022/02/14
- [elpa] externals/pq ae8f1a33ac 45/63: Make PQreset available as pq:reset., ELPA Syncer, 2022/02/14
- [elpa] externals/pq fbc92e891d 59/63: README: Fix typo., ELPA Syncer, 2022/02/14
- [elpa] externals/pq c653a8b1ee 54/63: Remove unused macro., ELPA Syncer, 2022/02/14