use EXPECT_SYS

This commit is contained in:
Jōshin 2023-12-31 12:42:18 -05:00
parent 2c0734aa9b
commit 8a02bf33f2
No known key found for this signature in database

View file

@ -79,7 +79,7 @@ TEST(GetProgramExecutableName, ofThisFile) {
} else {
EXPECT_EQ('/', *self);
EXPECT_TRUE(!!strstr(self, "getprogramexecutablename_test"));
ASSERT_SYS(0, 0, access(self, X_OK));
EXPECT_SYS(0, 0, access(self, X_OK));
}
}