File: t_12_includeloop

package info (click to toggle)
filtergen 0.12.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,924 kB
  • sloc: sh: 5,485; ansic: 4,268; yacc: 692; lex: 362; makefile: 165
file content (16 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -x

TEST="that exceeding the stack depth for includes prints an error"

testdir=`dirname $0`
. $testdir/testlib

./scan < $testdir/data/scanner12.in > $work/out 2>&1
if test $? -ne 0 ; then no_result ; fi
cat $work/out

compare $testdir/data/scanner12.out $work/out

# got this far?
pass