|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2513 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 2513.
Report 2513 Actions
Problem Report Number 2513 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1300 Raised 2006-02-24 08:09 Updated 2006-02-27 23:56 Published 2006-02-27 23:56 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 5.2.7 Test Identification POSIX.upe/vi/vi_01.ex,33 Specification Commands and Utilities Issue 4 Version 2 Problem Summary vi assertion 33 makes invalid assumption about the expect stty state. Problem Text The test uses an expect script to send commands to the shell from vi
including, for example, this one and several other that contain embeded
'#' characters:
:!echo vi_33.08 >> vi_out_33_1 \#comment
The expect script includes the line:
set stty_init "-echo"
Which makes the assumption that '#' is not used as a terminal control
character. If for example the erase chacter is set to '#', the test will
fail.
We have run the test with the expect script line above set to
set stty_init "-echo erase ^H"
and the test passes.
We suggest modifying the test so that fewer assumptions are made
concerning the initial state of the terminal when using expect.Test Output 400|161 33 1 22:25:54|IC Start
200|161 33 22:25:54|TP Start
520|161 33 6740 1 1|Assertion #33 (D): default shell interpreter when
SHELL null
or unset
520|161 33 6740 4 1|Testing with SHELL set to null string
520|161 33 6740 4 2|Standard output isn't the same as file 'vi_eso_33_1'
520|161 33 6740 4 3|diff of "out.stdout" and "vi_eso_33_1":
520|161 33 6740 4 4|*** out.stdout Mon Feb 6 22:25:55 2006
520|161 33 6740 4 5|--- vi_eso_33_1 Mon Feb 6 22:25:54 2006
520|161 33 6740 4 6|***************
520|161 33 6740 4 7|*** 5,15 ****
520|161 33 6740 4 8| * * *
520|161 33 6740 4 9| vi_33.06
520|161 33 6740 4 10| vi_33.07
520|161 33 6740 4 11| vi_33.09
520|161 33 6740 4 12| two
520|161 33 6740 4 13| vi_33.10
520|161 33 6740 4 14|! vi_33.11 one two three one two three one two three
520|161 33 6740 4 15|! vi_33.12 one twoA twoB one twoA twoB one twoA
twoB
520|161 33 6740 4 16| vi_33.13
520|161 33 6740 4 17| vi_33.14
520|161 33 6740 4 18| vi_33.15tmp
520|161 33 6740 4 19|--- 5,16 ----
520|161 33 6740 4 20| * * *
520|161 33 6740 4 21| vi_33.06
520|161 33 6740 4 22| vi_33.07
520|161 33 6740 4 23|+ vi_33.08
520|161 33 6740 4 24| vi_33.09
520|161 33 6740 4 25| two
520|161 33 6740 4 26| vi_33.10
520|161 33 6740 4 27|! vi_33.11 one two three 3 one two three one two three
520|161 33 6740 4 28|! vi_33.12 one twoA twoB 2 one twoA twoB one twoA
twoB
520|161 33 6740 4 29| vi_33.13
520|161 33 6740 4 30| vi_33.14
520|161 33 6740 4 31| vi_33.15tmp
520|161 33 6740 4 32|***************
520|161 33 6740 4 33|*** 19,22 ****
520|161 33 6740 4 34| vi_33.18 line 2
520|161 33 6740 4 35| vi_33.19
520|161 33 6740 4 36| vi_33.20 11 9 17
520|161 33 6740 4 37|! vi_33.21 abc
520|161 33 6740 4 38|--- 20,23 ----
520|161 33 6740 4 39| vi_33.18 line 2
520|161 33 6740 4 40| vi_33.19
520|161 33 6740 4 41| vi_33.20 11 9 17
520|161 33 6740 4 42|! vi_33.21 bcd abc
520|161 33 6740 4 43|Testing with SHELL unset
520|161 33 6740 4 44|Standard output isn't the same as file 'vi_eso_33_1'
520|161 33 6740 4 45|diff of "out.stdout" and "vi_eso_33_1":
520|161 33 6740 4 46|*** out.stdout Mon Feb 6 22:25:57 2006
520|161 33 6740 4 47|--- vi_eso_33_1 Mon Feb 6 22:25:56 2006
520|161 33 6740 4 48|***************
520|161 33 6740 4 49|*** 5,15 ****
520|161 33 6740 4 50| * * *
520|161 33 6740 4 51| vi_33.06
520|161 33 6740 4 52| vi_33.07
520|161 33 6740 4 53| vi_33.09
520|161 33 6740 4 54| two
520|161 33 6740 4 55| vi_33.10
520|161 33 6740 4 56|! vi_33.11 one two three one two three one two three
520|161 33 6740 4 57|! vi_33.12 one twoA twoB one twoA twoB one twoA
twoB
520|161 33 6740 4 58| vi_33.13
520|161 33 6740 4 59| vi_33.14
520|161 33 6740 4 60| vi_33.15tmp
520|161 33 6740 4 61|--- 5,16 ----
520|161 33 6740 4 62| * * *
520|161 33 6740 4 63| vi_33.06
520|161 33 6740 4 64| vi_33.07
520|161 33 6740 4 65|+ vi_33.08
520|161 33 6740 4 66| vi_33.09
520|161 33 6740 4 67| two
520|161 33 6740 4 68| vi_33.10
520|161 33 6740 4 69|! vi_33.11 one two three 3 one two three one two three
520|161 33 6740 4 70|! vi_33.12 one twoA twoB 2 one twoA twoB one twoA
twoB
520|161 33 6740 4 71| vi_33.13
520|161 33 6740 4 72| vi_33.14
520|161 33 6740 4 73| vi_33.15tmp
520|161 33 6740 4 74|***************
520|161 33 6740 4 75|*** 19,22 ****
520|161 33 6740 4 76| vi_33.18 line 2
520|161 33 6740 4 77| vi_33.19
520|161 33 6740 4 78| vi_33.20 11 9 17
520|161 33 6740 4 79|! vi_33.21 abc
520|161 33 6740 4 80|--- 20,23 ----
520|161 33 6740 4 81| vi_33.18 line 2
520|161 33 6740 4 82| vi_33.19
520|161 33 6740 4 83| vi_33.20 11 9 17
520|161 33 6740 4 84|! vi_33.21 bcd abc
220|161 33 1 22:25:57|FAIL
410|161 33 1 22:25:57|IC EndReview Information
Review Type TSMA Review Start Date 2006-02-24 08:09 Last Updated 2006-02-24 18:42 Completed 2006-02-24 18:42 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2006-02-24 18:42 Last Updated 2006-02-25 00:35 Completed 2006-02-25 00:35 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion This PR represents an agreed test suite deficiency.
Problem Reporting System Options:
- View Report 2513
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority