pgpool2.git / summary / log / commit / refs
commit 42e2285acd3781707a0a674f71afe9acea2c8c18
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Mon Jul 01 22:25:05 2019 +0000
Add test case for 'trace' to 026.temp_table's test.sh.
Commit 7a0471bb for test.sh forgot to test 'trace' case.
src/test/regression/tests/026.temp_table/test.sh | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/test/regression/tests/026.temp_table/test.sh b/src/test/regression/tests/026.temp_table/test.sh
index 1eccab25f..156f32e43 100755
--- a/src/test/regression/tests/026.temp_table/test.sh
+++ b/src/test/regression/tests/026.temp_table/test.sh
@@ -21,6 +21,18 @@ export PGPORT=$PGPOOL_PORT
./startall
wait_for_pgpool_startup
+# test1: default (check_temp_table = 'catalog')
+
+$PSQL -a -f ../temp_table.sql test > results.txt
+
+cmp results.txt ../expected.txt || exit 1
+
+# test2: trace
+
+echo "check_temp_table = 'trace'" >> etc/pgpoo.conf
+
+./pgpool_reload
+
$PSQL -a -f ../temp_table.sql test > results.txt
cmp results.txt ../expected.txt || exit 1
[parent: 65e03004475b]