summaryrefslogtreecommitdiffstats
path: root/src/test/regress/pg_regress_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/pg_regress_main.c')
-rw-r--r--src/test/regress/pg_regress_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/pg_regress_main.c b/src/test/regress/pg_regress_main.c
index 4274299..ff0fde1 100644
--- a/src/test/regress/pg_regress_main.c
+++ b/src/test/regress/pg_regress_main.c
@@ -54,7 +54,7 @@ psql_start_test(const char *testname,
outputdir, testname);
snprintf(expectfile, sizeof(expectfile), "%s/expected/%s.out",
- outputdir, testname);
+ expecteddir, testname);
if (!file_exists(expectfile))
snprintf(expectfile, sizeof(expectfile), "%s/expected/%s.out",
inputdir, testname);