|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0532 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 0532.
Report 0532 Actions
Problem Report Number 0532 Submitter's Classification Minor System Fault State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0023 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1999-01-07 08:00 Expiry Date 2000-01-07 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.6 Test Identification POSIX.cmd/mailx 70 Problem Summary MSF4C.00015 An MSF is requested because the exit status should be nonzero when output is written to stderr. Problem Text
An MSF is requested because the exit status should be nonzero when
output is written to stderr.
This test has two sets of errors. The first set are the following lines:
ERROR: mailx did not exit on !pwd
ERROR: mailx did not exit on edit
ERROR: mailx did not exit on hold
ERROR: mailx did not exit on mail vsc4
ERROR: mailx did not exit on preserve
ERROR: mailx did not exit on reply
ERROR: mailx did not exit on Reply
ERROR: mailx did not exit on shell
ERROR: mailx did not exit on visual
The above errors are covered by TSD4C.00190. However, it does not cover the
following errors in the output:
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
Since output has been written to stderr, the mailx utility must exit with
a nonzero exit status. The test properly reports that the exit status is
zero and an error has occurred.
We believe that exiting with a zero exit status in these situations is
a minor system fault for the following reasons:
1. mailx is being used in the interactive mode where exit status
is not as important as the printed error messages,
2. the interactive mode of mailx is not typically used in shell
scripts which is where exit status is important for properly handling
error conditions, and,
3. a workaround for this issue is to check for output on standard error.
As a result, the situations, where the exit status is important or the
consequences of an incorrect exit status are bad, are not likely.
Test Output
***********************************************************************
/tset/POSIX.cmd/mailx/mailx_01.ex 1 Failed
Test Information:
Assertion #70 (C): Action on errors in the MAILRC file
-- Testing with !pwd in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on !pwd
ERROR: Zero exit status.
-- Testing with edit in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on edit
ERROR: Zero exit status.
-- Testing with hold in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on hold
ERROR: Zero exit status.
-- Testing with mail vsc4 in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on mail vsc4
ERROR: Zero exit status.
-- Testing with preserve in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on preserve
ERROR: Zero exit status.
-- Testing with reply in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on reply
ERROR: Zero exit status.
-- Testing with Reply in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on Reply
ERROR: Zero exit status.
-- Testing with shell in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on shell
ERROR: Zero exit status.
-- Testing with visual in startup file
-- A diagnostic message was written to stderr.
ERROR: mailx did not exit on visual
ERROR: Zero exit status.
***********************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A temporary waiver for a minor system fault is recommended.
This test has two sets of errors. The first set are the following lines:
ERROR: mailx did not exit on !pwd
ERROR: mailx did not exit on edit
ERROR: mailx did not exit on hold
ERROR: mailx did not exit on mail vsc4
ERROR: mailx did not exit on preserve
ERROR: mailx did not exit on reply
ERROR: mailx did not exit on Reply
ERROR: mailx did not exit on shell
ERROR: mailx did not exit on visual
The above errors are covered by TSD4C.00190. The TSD should be listed
for these failures when submitting branding materials.
The following errors are recommended as a minor system fault:
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
ERROR: Zero exit status.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion
A Temporary Waiver is granted.
Problem Reporting System Options:
- View Report 0532
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority