Fix regression tests.
authorHeikki Linnakangas <[email protected]>
Mon, 5 Jan 2015 17:31:24 +0000 (19:31 +0200)
committerHeikki Linnakangas <[email protected]>
Fri, 16 Jan 2015 11:37:06 +0000 (13:37 +0200)
contrib/pg_rewind/Makefile
contrib/pg_rewind/sql/config_test.sh [changed mode: 0644->0755]
contrib/pg_rewind/sql/run_test.sh [changed mode: 0644->0755]

index 1b2d2b9869daa001fa5cbac279f2c24d9eaed08c..241c775bf56c82be5314c67ad7d198ab4c14ba52 100644 (file)
@@ -36,6 +36,10 @@ endif
 xlogreader.c: % : $(top_srcdir)/src/backend/access/transam/%
        rm -f $@ && $(LN_S) $< .
 
+# The regression tests can be run separately against, using the libpq or local
+# method to copy the files. For local mode, the makefile target is
+# "check-local", and for libpq mode, "check-remote". The target check-both
+# runs the tests in both modes.
 check-local:
        echo "Running tests against local data directory, in copy-mode"
        bindir=$(bindir) TEST_SUITE="local" $(MAKE) installcheck
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index bad9993..a6b934c
@@ -26,6 +26,9 @@
 # to run psql against the master and standby servers, to cause the servers
 # to diverge.
 
+PATH=$bindir:$PATH
+export PATH
+
 # Initialize master, data checksums are mandatory
 rm -rf $TEST_MASTER
 initdb -N -A trust -D $TEST_MASTER >>$log_path