aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-05 23:35:02 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-05 23:35:24 +0100
commit94d9bbd4bf20b21f3da2d692b3165f8f2fabcd8a (patch)
tree341050f157f9e5ca415d85b83742049363618428 /main
parenta31458155fe541eb301dece6a857dbbac0aa895d (diff)
downloadaports-94d9bbd4bf20b21f3da2d692b3165f8f2fabcd8a.tar.bz2
aports-94d9bbd4bf20b21f3da2d692b3165f8f2fabcd8a.tar.xz
main/libzdb: really add the patch file
Diffstat (limited to 'main')
-rw-r--r--main/libzdb/test-makefile.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/libzdb/test-makefile.patch b/main/libzdb/test-makefile.patch
new file mode 100644
index 0000000000..4d810d69e2
--- /dev/null
+++ b/main/libzdb/test-makefile.patch
@@ -0,0 +1,31 @@
+./pool is interactive, so we must feed it DB connection on stdin.
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -17,4 +17,4 @@
+ test: unit pool select
+
+ verify:
+- @/bin/sh ./exception && ./unit && ./pool
++ @/bin/sh ./exception && ./unit && echo 'sqlite:///tmp/sqlite.db?synchronous=off&heap_limit=2000' | ./pool
+--- a/test/Makefile.in
++++ b/test/Makefile.in
+@@ -619,7 +619,7 @@
+ test: unit pool select
+
+ verify:
+- @/bin/sh ./exception && ./unit && ./pool
++ @/bin/sh ./exception && ./unit && echo 'sqlite:///tmp/sqlite.db?synchronous=off&heap_limit=2000' | ./pool
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -619,7 +619,7 @@
+ test: unit pool select
+
+ verify:
+- @/bin/sh ./exception && ./unit && ./pool
++ @/bin/sh ./exception && ./unit && echo 'sqlite:///tmp/sqlite.db?synchronous=off&heap_limit=2000' | ./pool
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.