Changeset 164 for trunk/test/testext.sh
- Timestamp:
- Feb 6, 2008, 10:31:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testext.sh
r51 r164 94 94 echo "SetChecksum=$CHKSUM" >> testrc_1ext 95 95 echo "SetFilterOr=ALERT" >> testrc_1ext 96 echo "CloseCommand" >> testrc_1ext 97 echo "OpenCommand=$PW_DIR/test_ext" >> testrc_1ext 98 echo "SetType=log" >> testrc_1ext 99 echo "SetChecksum=$CHKSUM" >> testrc_1ext 100 echo "SetFilterOr=ALERT" >> testrc_1ext 96 101 97 102 rm -f $PW_DIR/test_ext.res … … 111 116 112 117 tmp=`cat $PW_DIR/test_ext.res | wc -l` 113 if [ $tmp -eq 4]; then118 if [ $tmp -eq 8 ]; then 114 119 tmp=`egrep 'RECV: \[EOF\]' $PW_DIR/test_ext.res | wc -l` 115 if [ $tmp -eq 2]; then120 if [ $tmp -eq 4 ]; then 116 121 tmp=`egrep 'RECV: ALERT' $PW_DIR/test_ext.res | wc -l` 117 if [ $tmp -eq 2]; then122 if [ $tmp -eq 4 ]; then 118 123 log_ok 1 ${MAXTEST}; 119 124 else
Note:
See TracChangeset
for help on using the changeset viewer.