]> granicus.if.org Git - postgresql/commit
Increase test coverage for worker_spi by ∞%
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 2 Jun 2019 04:29:49 +0000 (00:29 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 2 Jun 2019 04:29:49 +0000 (00:29 -0400)
commit4b3f1dd71b74f82dedbf37c331d0a444368c4009
treee7e6a8cc0818a8dc243a37f0cd4c8299710ea923
parent0b8e0532c65c3a2d4b0e9c254efa022767bacceb
Increase test coverage for worker_spi by ∞%

This test module was not getting invoked, other than at compile time,
limiting its usefulness -- and keeping its coverage at 0%.  Add a
minimal regression test to ensure it runs on make check-world; this
makes it 92% covered (line-wise), which seems sufficient.

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20190529193256.GA17603@alvherre.pgsql
src/test/modules/worker_spi/Makefile
src/test/modules/worker_spi/dynamic.conf [new file with mode: 0644]
src/test/modules/worker_spi/expected/worker_spi.out [new file with mode: 0644]
src/test/modules/worker_spi/sql/worker_spi.sql [new file with mode: 0644]
src/test/modules/worker_spi/worker_spi.c