Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit196eeb6

Browse files
Fix handling of expecteddir in pg_regress
Commitc855872 introduced a new parameter to pg_regress to setthe directory where to look for expected files, but accidentallyonly implemented it for when compiling pg_regress for ECPG tests.Fix by adding support for the parameter to the main regression testcompilation of pg_regress as well.Backpatch to v16 where --expecteddir was introduced.Author: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>Discussion:https://postgr.es/m/CAO6_Xqq5yKJHcJsq__LPcKwSY0XHRqVERNWGxx5ttNXXj7+W=A@mail.gmail.comBackpatch-through: 16
1 parentd802ff0 commit196eeb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/regress/pg_regress_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ psql_start_test(const char *testname,
5454
outputdir,testname);
5555

5656
snprintf(expectfile,sizeof(expectfile),"%s/expected/%s.out",
57-
outputdir,testname);
57+
expecteddir,testname);
5858
if (!file_exists(expectfile))
5959
snprintf(expectfile,sizeof(expectfile),"%s/expected/%s.out",
6060
inputdir,testname);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp