| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | t=`basenamescip-shell system . . basename. $0` |
| 4 | |
| 5 | catscip-shell system . . cat. > $t.I <<\EOF |
| 6 | #endif |
| 7 | EOF |
| 8 | |
| 9 | catscip-shell system . . cat. > $t.EO <<\EOF |
| 10 | #endif |
| 11 | EOF |
| 12 | |
| 13 | catscip-shell system . . cat. > $t.Ee <<\EOF |
| 14 | cppi: standard input: line 1: found #endif without matching #if |
| 15 | EOF |
| 16 | |
| 17 | expected_status=2 |
| 18 | |
| 19 | . $top_srcdir/tests/test-common |