mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
Fix GitHub Actions
This commit is contained in:
parent
425c055116
commit
6cff3137c5
1 changed files with 0 additions and 9 deletions
|
@ -40,15 +40,6 @@ TEST(openatemp, test) {
|
|||
EXPECT_SYS(0, 0, close(3));
|
||||
}
|
||||
|
||||
TEST(openatemp, dirfd) {
|
||||
ASSERT_SYS(0, 3, open(kTmpPath, O_RDONLY | O_DIRECTORY));
|
||||
char path[] = "foo.XXXXXX.txt";
|
||||
ASSERT_SYS(0, 4, openatemp(3, path, 4, 0, 0));
|
||||
EXPECT_TRUE(fileexists(gc(xjoinpaths(kTmpPath, path))));
|
||||
EXPECT_SYS(0, 0, close(4));
|
||||
EXPECT_SYS(0, 0, close(3));
|
||||
}
|
||||
|
||||
TEST(openatemp, unlink) {
|
||||
char path[] = "foo.XXXXXX";
|
||||
ASSERT_SYS(0, 3, openatemp(AT_FDCWD, path, 0, O_UNLINK, 0));
|
||||
|
|
Loading…
Reference in a new issue