aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2015-07-08 01:54:17 +0900
committerFujii Masao <fujii@postgresql.org>2015-07-08 01:54:17 +0900
commit61fc420b5710036f3124a44c26a3664a9cc7cdcf (patch)
tree98573277063a5c11651d7085335528c9bd03881f /src
parent9a8f58331067e18a5dc10670e687f21ae6a2172e (diff)
downloadpostgresql-61fc420b5710036f3124a44c26a3664a9cc7cdcf.tar.gz
postgresql-61fc420b5710036f3124a44c26a3664a9cc7cdcf.zip
Fix incorrect path in pg_regress log messages.
Back-patch to 9.5 where the bug was introduced. David Christensen
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/pg_regress.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index a267894751e..ed8c369e5cb 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -2223,7 +2223,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
temp_instance);
if (system(buf))
{
- fprintf(stderr, _("\n%s: initdb failed\nExamine %s/log/initdb.log for the reason.\nCommand was: %s\n"), progname, outputdir, buf);
+ fprintf(stderr, _("\n%s: initdb failed\nExamine %s/log/initdb.log for the reason.\nCommand was: %s\n"), progname, temp_instance, buf);
exit(2);
}
@@ -2353,7 +2353,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
if (WaitForSingleObject(postmaster_pid, 0) == WAIT_OBJECT_0)
#endif
{
- fprintf(stderr, _("\n%s: postmaster failed\nExamine %s/log/postmaster.log for the reason\n"), progname, outputdir);
+ fprintf(stderr, _("\n%s: postmaster failed\nExamine %s/log/postmaster.log for the reason\n"), progname, temp_instance);
exit(2);
}
@@ -2361,7 +2361,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
}
if (i >= 60)
{
- fprintf(stderr, _("\n%s: postmaster did not respond within 60 seconds\nExamine %s/log/postmaster.log for the reason\n"), progname, outputdir);
+ fprintf(stderr, _("\n%s: postmaster did not respond within 60 seconds\nExamine %s/log/postmaster.log for the reason\n"), progname, temp_instance);
/*
* If we get here, the postmaster is probably wedged somewhere in