1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix OSX utest failed.

This commit is contained in:
winlin 2020-04-22 11:39:18 +08:00
parent 854247e979
commit ee1002fc3d
2 changed files with 34 additions and 1 deletions

View file

@ -3843,7 +3843,11 @@ VOID TEST(KernelFileWriterTest, WriteSpecialCase)
off_t seeked = 0;
HELPER_EXPECT_SUCCESS(f.lseek(0, SEEK_CUR, &seeked));
#ifdef SRS_AUTO_OSX
EXPECT_EQ(10, seeked);
#else
EXPECT_EQ(0, seeked);
#endif
}
// Always fail.