mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Make some touchups
This commit is contained in:
parent
6c49e36537
commit
2e3958c6dc
11 changed files with 161 additions and 63 deletions
|
@ -34,9 +34,6 @@ TEST(vfork, test) {
|
|||
ASSERT_NE(-1, lseek(fd, 0, SEEK_SET));
|
||||
if (!vfork()) {
|
||||
EXPECT_EQ(5, pread(fd, buf, 5, 0));
|
||||
/*
|
||||
* TODO(jart): DOES PREAD IN CHILD REALLY CHANGE PARENT HANDLE POSITION?
|
||||
*/
|
||||
ASSERT_NE(-1, lseek(fd, 0, SEEK_SET));
|
||||
EXPECT_STREQ("hello", buf);
|
||||
EXPECT_NE(-1, close(fd));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue