Problem Report Number |
0055 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.PX.0026 |
Raised |
2010-12-07 18:17 |
Updated |
2010-12-07 10:27 |
Published |
2010-12-07 10:27 |
Product Standard |
PSE52 Realtime Controller 1003.1-2003 System |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSX4-PSE version 4.7.2 |
Test Identification |
ANSI.os/streamio/fwrite 13 |
Problem Summary |
fwrite 13 only writes 1 byte in PSE52P mode, but 10 bytes in POSIX01 mode |
Problem Text |
The do_ferr() function in tsetlib in VSXgen 4.2 only requests 1 byte
to be written by the test function when testing EFBIG in PSE52P mode,
whereas in POSIX01 (and other non-PSE) test modes it requests 10 bytes.
This causes ANSI.os/streamio/fwrite 13 to fail in PSE52P mode. If
do_ferr() is changed to request 10 bytes in PSE52P mode, the test
passes.
|
Test Output |
/tset/ANSI.os/streamio/fwrite/T.fwrite 13 Failed
Test Information:
fwrite() failed to set error indicator when testing for errno 27(EFBIG)
fwrite() returned nitems when testing for errno 27(EFBIG), expected < nitems
|