|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1358 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1358.
Report 1358 Actions
Problem Report Number 1358 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0640 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1997-01-14 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification base/wait3 11 Problem Summary TSD4U.00177 This test may fail on implementations where sizeof(EXIT_FAILURE) is larger than eight bits. Problem Text
The test compares the value EXIT_FAILURE with an 8 bit value. It assumes
that EXIT_FAILURE is in the range 1-255 which is not the case on our
system. Instead only the lowest 8 bits of EXIT_FAILURE should be compared.
A correct comparison would be
WEXITSTATUS(stat_val)!=(EXIT_FAILURE&0377)Test Output
/tset/CAPIbase/fwait3
SPEC1170TESTSUITE CASE 11
When the status returned by a call to pid_t wait3(int
*stat_loc, int options, struct rusage *resource_usage)
is for a child process that is terminated normally the
macro WEXITSTATUS( *stat_loc) shall evaluate to the
lower 8 bits of the exit code that the child passed to
exit(), _exit() or returned from main().
PREP: fork() a child that terminates normally
TEST: wait3
TEST: WEXITSTATUS() evaluates to exit status
ERROR: WEXITSTATUS() != exit status. Expected 9990888,Received 6
FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1358
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority