|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0618 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 0618.
Report 0618 Actions
Problem Report Number 0618 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0222 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 XOPEN.cmd/uucp 1022 Problem Summary PG4C.00054 The source-file argument should not be enclosed in double-quotes. Problem Text
tp1022() has a bug with shell quoting. Double quotes are being
used on the source file and the test is expecting that the shell
will expand it.
Section 2.2.3 in the X/Open CAE Specification states the following:
Enclosing characters in double-quotes("") preserves the literal
value of all characters within double-quotes, with the exception
of the characters dollar-sign, backquote and backslash, etc.
A suggested change would be to change line 1556 to use $PWD instead
of `pwd` and not use double quotes.
Test Output
200|1 1 12:44:34|TP Start
520|1 1 30998532 1 1|Assertion #1022 (A): test expansion of ?, *, [...] notatio
520|1 1 30998532 1 2| <LC> n in pathname
520|1 1 30998532 1 11|Expected exit code = 0; Received 1
520|1 1 30998532 1 12|Standard error isn't empty
520|1 1 30998532 1 13|Contents of out.stderr:
520|1 1 30998532 1 14|uucp: input file "/tmp/VSC4.1.5/tet_tmp_dir/13098a/uucp/a
520|1 1 30998532 1 15| <LC> b?d*h01[0-3]345": EDC5129I No such file or directo
520|1 1 30998532 1 16| <LC> ry.
520|1 1 30998532 1 17|Command failed: '[ -f /usr/spool/uucppublic/abcdefgh01234
520|1 1 30998532 1 18| <LC> 5 ]'
520|1 1 30998532 1 19|*WARNING - EqualFiles: Unable to open file /usr/spool/uuc
520|1 1 30998532 1 20| <LC> ppublic/abcdefgh012345 for comparison
520|1 1 30998532 1 21|Command failed: 'EqualFiles abcdefgh012345 /usr/spool/uuc
520|1 1 30998532 1 22| <LC> ppublic/abcdefgh012345 > /dev/null'
220|1 1 1 12:49:23|FAILReview 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.
The test is purposely quoting the source-file argument and is not
expecting the shell to do the expansion.
The OPERANDS section of the uucp utility section makes the following
statement regarding the destination-file and source-file requirements,
The shell pattern matching notation characters ?, * and [...]
appearing in pathname will be expanded on the appropriate
system.
Thus, if a remote pathname is specified, the filename expansion will
occur on the remote system.
In this test, the use of the backquoted pwd command and does not
affect the outcome of the test, since both are evaluated by the local
shell.
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 0618
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority