Skip to content

Commit d2529d7

Browse files
committed
Merge branch 'integration' into dws-a324-ci
# Conflicts: # .github/workflows/test.yml # test/src/common/harnessHost.c
2 parents 1fdf6ca + bff6343 commit d2529d7

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# All unit tests on the newest gcc available
5151
- param: test --vm=f44 --param=c-only --param=no-valgrind --param=no-coverage --param=no-performance
5252

53-
# All unit tests on musl libc
53+
# All unit and integration tests on musl libc
5454
- param: test --vm=a321 --param=no-coverage --param=no-performance
5555

5656
# All unit tests on musl libc

test/src/common/harnessHost.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -937,17 +937,16 @@ hrnHostPgBinPath(HrnHost *const this)
937937
{
938938
MEM_CONTEXT_TEMP_BEGIN()
939939
{
940-
// Possible bin paths for Debian, RHEL, and Alpine
940+
const String *pgPath = NULL;
941941
const char *const version = strZ(pgVersionToStr(hrnHostPgVersion()));
942+
942943
const String *const pgPathList[] =
943944
{
944-
strNewFmt("/usr/lib/postgresql/%s/bin", version),
945-
strNewFmt("/usr/pgsql-%s/bin", version),
946-
strNewFmt("/usr/libexec/postgresql%s", version),
945+
strNewFmt("/usr/lib/postgresql/%s/bin", version), // Debian
946+
strNewFmt("/usr/pgsql-%s/bin", version), // RHEL
947+
strNewFmt("/usr/libexec/postgresql%s", version), // Alpine
947948
};
948949

949-
const String *pgPath = NULL;
950-
951950
for (unsigned int pgPathIdx = 0; pgPath == NULL && pgPathIdx < LENGTH_OF(pgPathList); pgPathIdx++)
952951
{
953952
TRY_BEGIN()

0 commit comments

Comments
 (0)