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

 1 rizwank 1.1 #!/bin/sh
 2             #
 3             # Test the first match.
 4             #
 5             
 6             . $srcdir/defs || exit 1
 7             
 8             cat << EOF >data.in
 9             aaaa
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" != "Xok"; then
16               exit 1;
17             fi

Rizwan Kassim
Powered by
ViewCVS 0.9.2