Index: trunk/test/testext.sh
===================================================================
--- trunk/test/testext.sh	(revision 163)
+++ trunk/test/testext.sh	(revision 164)
@@ -94,4 +94,9 @@
 	echo "SetChecksum=$CHKSUM"          >> testrc_1ext
 	echo "SetFilterOr=ALERT"            >> testrc_1ext
+	echo "CloseCommand"                 >> testrc_1ext
+	echo "OpenCommand=$PW_DIR/test_ext" >> testrc_1ext
+	echo "SetType=log"                  >> testrc_1ext
+	echo "SetChecksum=$CHKSUM"          >> testrc_1ext
+	echo "SetFilterOr=ALERT"            >> testrc_1ext
     
 	rm -f $PW_DIR/test_ext.res
@@ -111,9 +116,9 @@
 
 	tmp=`cat $PW_DIR/test_ext.res | wc -l`
-	if [ $tmp -eq 4 ]; then
+	if [ $tmp -eq 8 ]; then
 	    tmp=`egrep 'RECV: \[EOF\]' $PW_DIR/test_ext.res | wc -l`
-	    if [ $tmp -eq 2 ]; then
+	    if [ $tmp -eq 4 ]; then
 		tmp=`egrep 'RECV: ALERT' $PW_DIR/test_ext.res | wc -l`
-		if [ $tmp -eq 2 ]; then
+		if [ $tmp -eq 4 ]; then
 		    log_ok 1 ${MAXTEST};
 		else
