|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0589 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 0589.
Report 0589 Actions
Problem Report Number 0589 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0193 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.5 Test Identification POSIX.cmd/wait 10 Problem Summary PG4C.00083 This IR claims that an invalid job identifier is being specified. Problem Text
This IR claims that an invalid job identifier is being specified.
Reason for failure:
This testcase fails as it expects the operand (pid) to be a
shell script.
As per the POSIX 1003.2 standards [Volume-1, Line no 10954-10963]
the operand (pid) specified should be an unsigned integer, of a job
control ID on systems supporting job control option.Test Output
--------------- wait
/tset/POSIX.cmd/wait/wait.ex1 Failed
Test Information:
Assertion #10 (C):
Testing %%
Testing %+
Testing %-
Testing %1
Testing %2
Testing %./wait_10_prog1
expected exit status 7, got 126
Testing %?10_prog2
expected exit status 9, got 126
**********************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
We believe the test is correct.
The wait specification allows two variations of the pid operand (page
803 in the XCU spec, or section 4.70.4 of POSIX.2),
1. The unsigned decimal integer process ID of a command, for
which the utility is to wait for the termination.
2. A job control job ID (see the XBD specification, Chapter 2,
Glossary) that identifies a background process group to be
waited for. The job control job ID notation is applicable
only for invocations of wait in the current shell execution
environment; see Section 2.12 on page 96. The exit status of
wait is determined by the last command in the pipeline.
The shell scripts referred to (%./wait_10_prog1, %?10_prog2) are
legitimate job control job IDs. The XBD, page 19, or POSIX.2 section
2.2.2.94, defines job control job ID formats allowed,
Job Control Job ID Meaning
%% Current job
%+ Current job
%- Previous job
%n Job number n
%string Job whose command begins with string
%?string Job whose command contains string
In this case,
%./wait_10_prog1
%?10_prog2
are both allowed job control job IDs that be passed to the wait
utility. Shell scripts are considered commands as described in
section 2.9 of the XCU or section 3.9 in POSIX.2
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 0589
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority