Piotr Caban (@piotr) commented about dlls/msvcrt/tests/file.c:
- ok(stdout==stdin+1, "msvcrt stdout FILE must be adject to stdin");
- ok(_IOMYBUF == 0x0008, "MSVCRT _IOBUFFER_CRT should be 0x0008");
+#endif
- tempf = _tempnam(".","wne");
- file = fopen(tempf, "wb");
- fprintf(file, "%s", "Hello World\n");
- ptrold = file->_ptr;
- cntold = file->_cnt;
- if (ptrold && cntold)
- {
fprintf(file, "%s", "Hello");
ok(ptrold + 5 == file->_ptr, "FILE _ptr incorrect");
ok(cntold - 5 == file->_cnt, "FILE _cnt incorrect");
ok(ptrold + cntold == file->_ptr + file->_cnt, "FILE _ptr or _cnt incorrect");
This test is redundant, your checking it in earlier tests.