aboutsummaryrefslogtreecommitdiffstats
path: root/main/libzdb/test-makefile.patch
blob: 4d810d69e29e5d559055b0b98946909d0e56f0fc (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
27
28
29
30
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.