|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0834 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 0834.
Report 0834 Actions
Problem Report Number 0834 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0349 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-02-08 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.4 Test Identification POSIX.cmd/mailx 194 Problem Summary TSD4C.00162 This test may fail on implementations because of a possible side effect of test purpose 192. Problem Text
This test may fail on implementations because of a possible side
effect of test purpose 192.
The test in question tests the following assertion:
If the User Portability Utilities option is supported: When one of the
mailx commands copy, file, save, set, source, or write has an unquoted
file argument that does not begin with +, the file argument is subjected
to the process of shell word expansions.
To test this assertion, the test purpose makes use of a data file
(DATA/194.1) that includes the lines
set dot
copy 1 mail*1
The intent of the "copy" command is to copy message number 1 to a
file named "mailx_out_1", which is created as an empty file by the
test purpose. When we run this test by itself it passes on our system.
However, when we run it in conjunction with the test for assertion 192
then assertion 194 fails. The reason is that the test purpose for
assertion 192 creates a file named "mailx_192_in_1" and does not
remove it. (Instead, the test purpose attempts to remove a file named
"mailx_192_in" there is no such file.) Thus when the copy command in
the test for assertion 194 expands the string "mail*1" it gets expanded
(in accordance with the requirements of the assertion) to two file names:
copy 1 mailx_192_in_1 mailx_out_1
The semantics of such a command are unspecified.
When we change the cleanup code in the test for assertion 192 from
rm -f a*a mailx_192_in
to
rm -f a*a mailx_192_in_1
then assertion 194 passes on our system. This behavior is reliably
repeatable. Clearly this is a test suite defect.Test Output
-----------------start of test output------------------
400|1 194 1 14:26:26|IC Start
200|1 1 14:26:27|TP Start
520|1 1 18850 1 1|Assertion #194 (C): File args not beginning '+', are shell
word expanded
520|1 1 18850 1 1|message 1 not found in mailx_out_1
520|1 1 18850 1 2|Command failed: 'chkmsg 1 mailx_out_1'
220|1 1 1 14:27:05|FAIL
410|1 194 1 14:27:05|IC End
------------------end of test output-------------------
Review 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 0834
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority