Shut down test servers after pg_rewind regression tests.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Apr 2015 16:54:38 +0000 (19:54 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Apr 2015 16:54:38 +0000 (19:54 +0300)
commit0d8a22a9ac6a61b7993abb642cb7e4645f4087b0
tree67e0401c20ee5ed65717c80ccdbebb66ace31384
parent3d80a1e0e3e278edc6022d642478dcbd089d4483
Shut down test servers after pg_rewind regression tests.

Now that the test servers are initialized twice in each .pl script,
the single END block is not enough to stop them. Add a new clean_rewind_test
function that is called at the end of each test.

Michael Paquier
src/bin/pg_rewind/RewindTest.pm
src/bin/pg_rewind/t/001_basic.pl
src/bin/pg_rewind/t/002_databases.pl
src/bin/pg_rewind/t/003_extrafiles.pl