|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0675 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 0675.
Report 0675 Actions
Problem Report Number 0675 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0068 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-04-28 08:00 Product Standard Commands and Utilities V3 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSC version 5.0.1 Test Identification XOPEN.cmd/ipcs 1043 Specification Commands and Utilities Issue 5 Location in Spec See Problem Text Problem Summary PIN4C.00046 Conforming implementations need not pass this test due to a typo in the spec. Problem Text
The ipcs standard is in error with respect to when the header NSEMS
is to be printed out on which test case 1043 is based.
On page 405, in the options section the definitions of -a, -b and -t states
-a Use all print options. (This is a shorthand
notation for -b, -c, -o, -p, and -t.)
-b Write information on maximum allowable size.
(Maximum number of bytes in messages on queue
for message queues, size of segments for
shared memory, and number of semaphores in
each set for semaphores.)
-t Write time information (Time of the last control
operation that changed the access permissions for
all facilities, time of last msgsnd() and msgrcv()
operations on message queue, time of last shmat()
and shmdt() operations on shared memory, and time
of last semop() operation on semaphores.)
The -b option specifically states "number of semaphores in each set for
semaphores" which is NSEMS. The -t option in no way references NSEMS.
However on page 409, NSEM is defined only to be written for semaphore sets.
NSEMS (a,t) The number of semaphores in the set associ-
ated with the semaphore entry. The field is
written using the format "%d".
The options -a and -t are presented as the only acceptable options for NSEMS.
This is an error. The option section states that -b, which is included in -a,
is the only reference for the heading NSEMS. The standard XSH5 needs to be
corrected on page 409 to
NSEMS (a,b) The number of semaphores in the set associ-
ated with the semaphore entry. The field is
written using the format "%d".
Test Output
520|1 1 26535 1 1|Assertion #1043 (A): Semaphores facility heading
520|1 1 26535 1 11|TEST: ipcs -t
520|1 1 26535 1 12|ERROR: Column headings not found
520|1 1 26535 1 13|Expected column headings: T ID KEY MODE OWNER GROUP NSEMS OT
520|1 1 26535 1 14| <LC> IME CTIME
520|1 1 26535 1 15|Contents of ipcs_chk_fac_hd.tmp:
520|1 1 26535 1 16|IPC status from <running system> as of Wed Apr 22 11:31:53 P
520|1 1 26535 1 17| <LC> DT 1998
520|1 1 26535 1 18|T ID KEY MODE OWNER GROUP ST
520|1 1 26535 1 19| <LC> IME RTIME CTIME
520|1 1 26535 1 20|Message Queues:
520|1 1 26535 1 21|q 3200 0x1000000 --rw--w-r-- vsc0 vscg0 no-e
520|1 1 26535 1 22| <LC> ntry no-entry 11:28:16
520|1 1 26535 1 23|q 1651 0x1000001 --rw--w-r-- vsc0 vscg0 11:2
520|1 1 26535 1 24| <LC> 8:17 11:28:17 11:28:17
520|1 1 26535 1 25|T ID KEY MODE OWNER GROUP AT
520|1 1 26535 1 26| <LC> IME DTIME CTIME
520|1 1 26535 1 27|Shared Memory:
520|1 1 26535 1 28|m 0 0x50000ce5 --rw-r--r-- root root 14:0
520|1 1 26535 1 29| <LC> 4:17 14:04:17 14:04:17
520|1 1 26535 1 30|m 9401 0x1000000 --rw--w-r-- vsc0 vscg0 no-e
520|1 1 26535 1 31| <LC> ntry no-entry 11:28:17
520|1 1 26535 1 32|m 4602 0x1000001 --rw--w-r-- vsc0 vscg0 11:2
520|1 1 26535 1 33| <LC> 8:17 11:28:17 11:28:17
520|1 1 26535 1 34|T ID KEY MODE OWNER GROUP OT
520|1 1 26535 1 35| <LC> IME CTIME
520|1 1 26535 1 36|Semaphores:
520|1 1 26535 1 37|s 6946816 0x1000000 --ra--a-r-- vsc0 vscg0 no-e
520|1 1 26535 1 38| <LC> ntry 11:28:17
520|1 1 26535 1 39|s 3014657 0x1000001 --ra--a-r-- vsc0 vscg0 11:2
520|1 1 26535 1 40| <LC> 8:17 11:28:17
520|1 1 26535 1 41|Expected exit code = 0; Received 1
520|1 1 26535 1 42|TEST: ipcs -s -t
520|1 1 26535 1 43|ERROR: Column headings not found
520|1 1 26535 1 44|Expected column headings: T ID KEY MODE OWNER GROUP NSEMS OT
520|1 1 26535 1 45| <LC> IME CTIME
520|1 1 26535 1 46|Contents of ipcs_chk_fac_hd.tmp:
520|1 1 26535 1 47|IPC status from <running system> as of Wed Apr 22 11:31:57 P
520|1 1 26535 1 48| <LC> DT 1998
520|1 1 26535 1 49|T ID KEY MODE OWNER GROUP OT
520|1 1 26535 1 50| <LC> IME CTIME
520|1 1 26535 1 51|Semaphores:
520|1 1 26535 1 52|s 6946816 0x1000000 --ra--a-r-- vsc0 vscg0 no-e
520|1 1 26535 1 53| <LC> ntry 11:28:17
520|1 1 26535 1 54|s 3014657 0x1000001 --ra--a-r-- vsc0 vscg0 11:2
520|1 1 26535 1 55| <LC> 8:17 11:28:17
520|1 1 26535 1 56|Expected exit code = 0; Received 1
520|1 1 26535 1 57|TEST: ipcs -a
520|1 1 26535 1 58|ERROR: Column headings not found
520|1 1 26535 1 59|Expected column headings: T ID KEY MODE OWNER GROUP NSEMS OT
520|1 1 26535 1 60| <LC> IME CTIME
520|1 1 26535 1 61|Contents of ipcs_chk_fac_hd.tmp:
520|1 1 26535 1 62|IPC status from <running system> as of Wed Apr 22 11:31:59 P
520|1 1 26535 1 63| <LC> DT 1998
520|1 1 26535 1 64|T ID KEY MODE OWNER GROUP CRE
520|1 1 26535 1 65| <LC> ATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME
520|1 1 26535 1 66| <LC> RTIME CTIME
520|1 1 26535 1 67|Message Queues:
520|1 1 26535 1 68|q 3200 0x1000000 --rw--w-r-- vsc0 vscg0
520|1 1 26535 1 69| <LC> vsc0 vscg0 0 0 4096 0 0 no-entr
520|1 1 26535 1 70| <LC> y no-entry 11:28:16
520|1 1 26535 1 71|q 1651 0x1000001 --rw--w-r-- vsc0 vscg0
520|1 1 26535 1 72| <LC> vsc0 vscg0 50 1 4096 26660 26660 11:28:1
520|1 1 26535 1 73| <LC> 7 11:28:17 11:28:17
520|1 1 26535 1 74|T ID KEY MODE OWNER GROUP CRE
520|1 1 26535 1 75| <LC> ATOR CGROUP NATTCH SEGSZ CPID LPID ATIME
520|1 1 26535 1 76| <LC> DTIME CTIME
520|1 1 26535 1 77|Shared Memory:
520|1 1 26535 1 78|m 0 0x50000ce5 --rw-r--r-- root root
520|1 1 26535 1 79| <LC> root root 1 68 246 246 14:04:17
520|1 1 26535 1 80| <LC> 14:04:17 14:04:17
520|1 1 26535 1 81|m 9401 0x1000000 --rw--w-r-- vsc0 vscg0
520|1 1 26535 1 82| <LC> vsc0 vscg0 0 1024 26672 0 no-entry
520|1 1 26535 1 83| <LC> no-entry 11:28:17
520|1 1 26535 1 84|m 4602 0x1000001 --rw--w-r-- vsc0 vscg0
520|1 1 26535 1 85| <LC> vsc0 vscg0 0 1024 26680 26680 11:28:17
520|1 1 26535 1 86| <LC> 11:28:17 11:28:17
520|1 1 26535 1 87|T ID KEY MODE OWNER GROUP CRE
520|1 1 26535 1 88| <LC> ATOR CGROUP NSEMS OTIME CTIME
520|1 1 26535 1 89|Semaphores:
520|1 1 26535 1 90|s 6946816 0x1000000 --ra--a-r-- vsc0 vscg0
520|1 1 26535 1 91| <LC> vsc0 vscg0 2 no-entry 11:28:17
520|1 1 26535 1 92|s 3014657 0x1000001 --ra--a-r-- vsc0 vscg0
520|1 1 26535 1 93| <LC> vsc0 vscg0 2 11:28:17 11:28:17
520|1 1 26535 1 94|Expected exit code = 0; Received 1
220|1 1 1 11:32:04|FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A permanent interpretation is recommended.
We agree with the rewording the submitter suggests.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion
A Permanent Interpretation is granted.
Problem Reporting System Options:
- View Report 0675
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority