File: sc23.fw

package info (click to toggle)
funnelweb 3.2-4.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,744 kB
  • sloc: ansic: 9,156; makefile: 17
file content (26 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SC23: Test syntax checking of output line length pragma.

1. Test not three arguments.
@p maximum_output_line_length
@p maximum_output_line_length =
@p maximum_output_line_length = xxx yyy

2. Test second argument not "=".
@p maximum_output_line_length x sloth

3. Test value of infinity.
@p maximum_output_line_length = infinity

4. Test non-decimal digit in number.
@p maximum_output_line_length = 2ef

5. Test number is more than eight digits long.
@p maximum_output_line_length = 123456789

6. Test number is exactly eight digits long.
7. Test pragma opposing earlier pragma.
@p maximum_output_line_length = 12345678

8. Test pragma not opposing earlier pragma.
@p maximum_output_line_length = infinity