|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1041 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 1041.
Report 1041 Actions
Problem Report Number 1041 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0280 Raised 2001-01-25 08:00 Updated 2003-03-13 08:00 Published null Product Standard Commands and Utilities V3 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSC version 5.1.1 Test Identification XOPEN.cmd/ipcs 1039 Problem Summary PG4C.00132 The ipcs output shown in the test result does not match the XCU5 specification as amended by corrigendum U032. Problem Text
This test may fail on implementations because the required fields
are not being checked in the output for shared memory segments.
As per the CAE Specification, Commands and Utilities, Issue 5, for ipcs
Page no : 409, for the shared memory case using the (-m) or (-m -a) options,
the output requires the following headings :
T ID KEY MODE OWNER GROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
However, the test is only checking for
T ID KEY MODE OWNER GROUP NATTCH SEGSZ ATIME DTIME CTIME
The test calls check_line as follows
check_line "$detail_line" "m $shm_ID $shm_KEY $shm_MODE $shm_OWNER
$shm_GROUP $shm_NATTCH $shm_SEGSZ $shm_ATIME $shm_DTIME $shm_CTIME .*" >
$CT_STDOUT 2> $CT_STDERR
and checks all of required fields, but fails to refer to the CPID and
LPID fields as well. The result of this error is that the check_line
comparison fails and the test fails.
Specifically, in tp1039, change
check_line "$detail_line" "m $shm_ID $shm_KEY $shm_MODE $shm_OWNER
$shm_GROUP $shm_NATTCH $shm_SEGSZ $shm_ATIME $shm_DTIME $shm_CTIME .*" >
$CT_STDOUT 2> $CT_STDERR
to
check_line "$detail_line" "m $shm_ID $shm_KEY $shm_MODE $shm_OWNER
$shm_GROUP $shm_NATTCH $shm_SEGSZ $shm_CPID $shm_LPID $shm_ATIME $shm_DTIME
$shm_CTIME .*" > $CT_STDOUT 2> $CT_STDERRTest Output
***********************************************************************
/tset/XOPEN.cmd/ipcs/ipcs.ex 1 Failed
Test Information:
Assertion #1039 (A): Shared memory fields for ipcs -m -t/-
<LC> a
TEST: ipcs -t
TEST: ipcs -m -t
TEST: ipcs -a
ERROR: Line did not match expression
Expression compared:
m 1024 0xbeefbeef -[C-]rw--w-r-- vsctest users 0 1024 no-
<LC> entry no-entry 4:44:[0-9][0-9] .*
Detail line contained:
m 1024 0xbeefbeef --rw--w-r-- vsctest users 0 1024 133600
<LC> 0 no-entry no-entry 4:44:11
Expected exit code = 0; Received 1
TEST: ipcs -m -a
ERROR: Line did not match expression
Expression compared:
m 1024 0xbeefbeef -[C-]rw--w-r-- vsctest users 0 1024 no-
<LC> entry no-entry 4:44:[0-9][0-9] .*
Detail line contained:
m 1024 0xbeefbeef --rw--w-r-- vsctest users 0 1024 133600
<LC> 0 no-entry no-entry 4:44:11
Expected exit code = 0; Received 1
TEST: ipcs -t -o
TEST: ipcs -m -t -o
TEST: ipcs -t -o -b
TEST: ipcs -m -t -o -b
TEST: ipcs -t -o -b -p
TEST: ipcs -m -t -o -b -p
***********************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
It is true that this test does not match the specification, however
neither does the implementation. The requirements for output of the
ipcs command were amended in corrigendum U032 (March 1998). On
systems which correctly implement the amended specification this
test fails differently. The failure is covered by PIN4C.00045.
It is recommended that this request is refused.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1041
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority