0

I'm implementing an alternative C standard library with file operation support.

I'm planning to support both:

I'm looking for a test suite which validates my implementation against standard C requirements (example: validates that pread returns zero when the caller requests read beyond the file contents).

I'll be happy for your suggestions.

Ben Hirschberg
  • 1,410
  • 1
  • 12
  • 17
  • So you are asking if anyone knows a test suite for your not yet implemented library? Seems rather off topic – Isac Jan 31 '18 at 14:25
  • I assume that people wrote other implementations of standard C library before me ;-) I'm asking about reuse of test code since the API is there for more than 25 years... – Ben Hirschberg Jan 31 '18 at 15:14
  • Here is an example: https://github.com/lattera/glibc/blob/master/posix/tst-preadwrite.c The problem that this is not comprehensive – Ben Hirschberg Jan 31 '18 at 15:30

0 Answers0