(file) Return to longestmatch.test CVS log (file) (dir) Up to [RizwankCVS] / testProject / source / states / tests

 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

Rizwan Kassim
Powered by
ViewCVS 0.9.2