|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0881 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 0881.
Report 0881 Actions
Problem Report Number 0881 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0396 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-01 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.shell/shell 709 Problem Summary TSD4C.00115 The test may fail on implementations that default the ERASE character to the # character. Problem Text
The test may fail on implementations that default the ERASE character
to the # character.
Test 709 expects that the "$#" token will cause the shell to return
the number of paramaters passed to the command under test.
The test sends the "$#" token through a psuedo terminal to the command
under test. The test fails because the "#" character is treated as an
ERASE character by the psuedo terminal, which causes the preceeding
character to be erased.
During test setup, the test creates a child process which opens the
psuedo terminal. When a psuedo terminal is opened for the first time,
the "#" character defaults to the canonical ERASE character on our
implementation.
Since spawning a subshell does not cause the .profile file to be
executed, the "#" is not set to something reasonable, such as '^H'.
The standard does not require the ERASE character to be '^H' and does
not require that spawned shells execute the .profile file. The test
should be corrected to avoid this assumption.Test Output
200|1 1 10:57:32|TP Start
520|1 1 13987 1 1|Assertion #709 (A): When 'n' is greater than the value of the
special parameter '#',
520|1 1 13987 1 1|diff of "test.709.out" and "test.709.exp":
520|1 1 13987 1 2|*** test.709.out Mon Oct 9 10:58:02 1995
520|1 1 13987 1 3|--- test.709.exp Mon Oct 9 10:57:32 1995
520|1 1 13987 1 4|***************
520|1 1 13987 1 5|*** 1,3 ****
520|1 1 13987 1 6|! one two three
520|1 1 13987 1 7| non-zero
520|1 1 13987 1 8|! one two three
520|1 1 13987 1 9|--- 1,3 ----
520|1 1 13987 1 10|! 3 one two three
520|1 1 13987 1 11| non-zero
520|1 1 13987 1 12|! 3 one two three
520|1 1 13987 1 13|Command failed: 'cmp_show test.709.out test.709.exp'
220|1 1 1 10:58:04|FAIL
410|1 709 1 10:58:04|IC End
80|1 0 10:58:04|TC End
300|2 /tset/POSIX.shell/shell/sh_12.ex 10:58:04|Clean Start, scenario ref 2-1
15|2 1.10 1|TCM Start
400|2 0 1 10:58:05|IC Start
200|2 1 10:58:05|TP Start
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 0881
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority