|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1472 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 1472.
Report 1472 Actions
Problem Report Number 1472 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0754 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-03 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification Headers/sys/wait.h 25 Problem Summary TSD4U.00059 This test may fail on all implementations. Problem Text
This test may fail on all implementations.
These tests fail because the header files being tested include a
typedef for the ucontext_t structure but the tests do not allow
all legal structure members.
According to the ucontext.h spec, the ucontext_t structure
contains "at least" certain members, and other members are
allowed provided their names comply with the rules on XSH
page 19.
The spec allows other members beginning with "uc_", but the
tests are rejecting these as invalid.Test Output
TEST CASE: sys/wait.h
TEST PURPOSE #25
The inclusion of sys/wait.h with _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED=1 defined shall only define or
declare identifiers with external linkage, macros, and
identifiers with file scope specified in the
sys/wait.h, signal.h, and sys/resource.h header file
sections; identifiers prefixed with 'FD_', 'fds_,
'it_', 'rlim_', 'ru_', 'tv_', 'sa_', 'si_', 'ss_',
'sv_', 'SIG[A-Z]', 'SIG_[A-Z]' or 'W[A-Z]'; macros
prefixed with 'FD_', 'fds_', 'it_', 'rlim_', 'ru_'
'tv_', 'ITIMER_', 'PRIO_', 'RLIM_', 'RLIMIT_'
'RUSAGE_', 'sa_', 'si_', 'ss_', 'sv_', 'SIG[A-Z]',
'SIG_[A-Z]', 'SA_', 'SIG_[0-9a-z_]', 'P_', 'BUS_',
'CLD_', 'FPE_', 'ILL_', 'POLL_', 'SEGV_', 'SI_', or
'TRAP_'; macros and identifiers suffixed with '_t';
and macros and identifiers prefixed with underscore
and either an alphanumeric character character or
another underscore.
ERROR: Invalid macro name 'uc_link'
ERROR: Invalid macro name 'uc_sigmask'
ERROR: Invalid macro name 'uc_stack'
ERROR: Structure members not allowed by namespace
rules are defined and are not protected from
user-defined macros. The following compiler
output resulted. With most compilers the
output will include the string "name
unprotected" for a member name at issue.
cc: "/usr/include/sys/newsig.h", line 69: error 1000: Unexpected symbol: "uc_mcontext unprotected".
cc: "/usr/include/sys/newsig.h", line 70: error 1000: Unexpected symbol: "uc_spares unprotected".
cc: "/usr/include/sys/newsig.h", line 70: warning 23: Semicolon required after last member.
cc: "/usr/include/sys/newsig.h", line 70: error 1000: Unexpected symbol: ")".
cc: "/usr/include/sys/newsig.h", line 72: error 1000: Unexpected symbol: "uc_created_by_getcontext unprotected".
cc: "/usr/include/sys/newsig.h", line 73: error 1000: Unexpected symbol: "uc_reserved_flags unprotected".
cc: "/usr/include/sys/newsig.h", line 74: error 1000: Unexpected symbol: "uc_subcontext unprotected".
cc: "/usr/include/sys/newsig.h", line 76: error 1000: Unexpected symbol: "}".
cc: "/usr/include/sys/wait.h", line 175: error 1000: Unexpected symbol: "id_t".
cc: error 2017: Cannot recover from earlier errors, terminating.
25 FAIL
TEST CASE: stdlib.h
TEST PURPOSE #45
The inclusion of stdlib.h with _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED=1 defined shall only define or
declare identifiers with external linkage, macros, and
identifiers with file scope specified in the stdlib.h,
stddef.h, limits.h, math.h sys/wait.h signal.h,
sys/resource.h and sys/time header file sections;
identifiers prefixed with 'sa_', 'si_', 'ss_', 'sv_',
'SIG[A-Z]', 'SIG_[A-Z]', 'FD_', 'fds_, 'it_', 'rlim_',
'ru_' and 'tv_', or 'W[A-Z]'; macros prefixed with
'sa_', 'si_', 'ss_', 'sv_', 'SIG[A-Z]', 'SIG_[A-Z]',
'SA_', 'SIG_[0-9a-z_]', 'BUS_', 'CLD_', 'FPE_',
'ILL_', 'POLL_', 'SEGV_', 'SI_', 'SS_', 'SV_',
'TRAP_', 'FD_', 'fds_', 'it_', 'rlim_', 'ru_' 'tv_',
'ITIMER_', 'PRIO_', 'RLIM_', 'RLIMIT_', 'RUSAGE_'or
'W[A-Z]'; function names beginning with 'str' and a
lower case letter; macros and identifiers suffixed
with '_t'; and macros and identifiers prefixed with
underscore and either an alphanumeric character or
another underscore.
ERROR: Invalid macro name 'uc_link'
ERROR: Invalid macro name 'uc_sigmask'
ERROR: Invalid macro name 'uc_stack'
ERROR: Structure members not allowed by namespace
rules are defined and are not protected from
user-defined macros. The following compiler
output resulted. With most compilers the
output will include the string "name
unprotected" for a member name at issue.
cc: "/usr/include/sys/newsig.h", line 69: error 1000: Unexpected symbol: "uc_mcontext unprotected".
cc: "/usr/include/sys/newsig.h", line 70: error 1000: Unexpected symbol: "uc_spares unprotected".
cc: "/usr/include/sys/newsig.h", line 70: warning 23: Semicolon required after last member.
cc: "/usr/include/sys/newsig.h", line 70: error 1000: Unexpected symbol: ")".
cc: "/usr/include/sys/newsig.h", line 72: error 1000: Unexpected symbol: "uc_created_by_getcontext unprotected".
cc: "/usr/include/sys/newsig.h", line 73: error 1000: Unexpected symbol: "uc_reserved_flags unprotected".
cc: "/usr/include/sys/newsig.h", line 74: error 1000: Unexpected symbol: "uc_subcontext unprotected".
cc: "/usr/include/sys/newsig.h", line 76: error 1000: Unexpected symbol: "}".
cc: "/usr/include/sys/wait.h", line 175: error 1000: Unexpected symbol: "id_t".
cc: error 2017: Cannot recover from earlier errors, terminating.
45 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 1472
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority