1 rizwank 1.1 #!/bin/sh 2 # 3 # Test the longest match. 4 # 5 6 . $srcdir/defs || exit 1 7 8 cat << EOF >data.in 9 aaaab 10 EOF 11 12 result=`$states --state=test_first_match data.in 2>&1` 13 rm -f data.in 14 15 if test "X$result" != "Xfail"; then 16 exit 1; 17 fi