| 1 |
SC15: Test that certain attributes are saved across inclusions. |
| 2 |
|
| 3 |
1. Maximum input line length. |
| 4 |
2. Special character. |
| 5 |
3. Local line number. |
| 6 |
|
| 7 |
To test this, we first set the first two attributes away from the |
| 8 |
default. This will enable us to be sure that when they are restored that |
| 9 |
they are being restored to their former values and not just set to the |
| 10 |
default. |
| 11 |
|
| 12 |
@=* *! Change the special character. |
| 13 |
*p maximum_input_line_length = 75 |
| 14 |
|
| 15 |
Before include. |
| 16 |
*i sc15a |
| 17 |
After include. |
| 18 |
|
| 19 |
If the maximum input line length has been correctly restored then the |
| 20 |
second of the following two lines should give an error, but not the first. |
| 21 |
123456789012345678901234567890123456789012345678901234567890123456789012345 |
| 22 |
1234567890123456789012345678901234567890123456789012345678901234567890123456 |
| 23 |
|
| 24 |
If the special character has been preserved, then the following should |
| 25 |
generate an error. |
| 26 |
|
| 27 |
* - This should generate an error if all is well. |
| 28 |
|
| 29 |
Preservation of the local line number can be checked by looking at the |
| 30 |
listing file. |