1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

Add wheel as possible group name in storage/posix test.

Some platforms use wheel as the group for symlinks instead of root.
This commit is contained in:
David Steele 2021-01-24 15:25:02 -05:00
parent 88e54ee6c7
commit d922cb6b8e

View File

@ -268,7 +268,7 @@ testRun(void)
TEST_RESULT_INT(info.mode, 0777, " check mode");
TEST_RESULT_STR(info.linkDestination, NULL, " check link destination");
TEST_RESULT_STR_Z(info.user, "root", " check user");
TEST_RESULT_STR_Z(info.group, "root", " check group");
TEST_RESULT_STR_Z(info.group, strEqZ(info.group, "wheel") ? "wheel" : "root", " check group");
storageRemoveP(storageTest, linkName, .errorOnMissing = true);