Changeset 128 for trunk/test
- Timestamp:
- Oct 5, 2007, 8:33:24 PM (17 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/test.sh
r68 r128 164 164 echo " (1) testcompile.sh (2) testhash.sh (3) testrun_1.sh (4) testrun_1a.sh" 165 165 echo " (5) testext.sh (6) testtimesrv.sh (7) testrun_1b.sh (8) testrun_1c.sh" 166 echo " (9) testrun_1d.sh "166 echo " (9) testrun_1d.sh (10) testrun_1e.sh" 167 167 echo " (20) testrun_2.sh (21) testrun_2a.sh (22) testrun_2b.sh (23) testrun_2c.sh" 168 168 echo " (24) testrun_2d.sh" … … 285 285 # 286 286 # 287 if test x$UID != x ; then287 if test x$UID != x -a x$UID != x0; then 288 288 TRUST="--with-trusted=0,2,$UID" 289 289 else 290 TRUST="--with-trusted=0,2, 500"290 TRUST="--with-trusted=0,2,1000" 291 291 fi 292 292 export TRUST -
trunk/test/testrun_1e.sh
r67 r128 23 23 export BUILDOPTS 24 24 25 MAXTEST=2; export MAXTEST 25 MAXTEST=3; export MAXTEST 26 27 PORTPOLICY_3=" 28 [ReadOnly] 29 file=${BASE} 30 [PortCheck] 31 PortCheckActive = yes 32 PortCheckUDP = no 33 " 34 35 chk_portdata_3 () { 36 one_sec_sleep 37 38 egrep 'CRIT.*POLICY \[ServiceNew\]' $LOGFILE >/dev/null 2>&1 39 if [ $? -eq 0 ]; then 40 41 [ -z "$verbose" ] || log_msg_fail "Open ports"; 42 return 1 43 fi 44 } 45 46 refine_portpolicy_3 () 47 { 48 cat "$LOGFILE" | grep ServiceNew | sed 's/.*port //' | awk '{ print $1 }' | \ 49 while read line; do 50 echo "PortCheckIgnore=$line" >>"${RCFILE}" 51 done 52 echo "PortCheckIgnore=2026" >>"${RCFILE}" 53 echo "PortCheckIgnore=2027" >>"${RCFILE}" 54 echo "PortCheckIgnore=2028" >>"${RCFILE}" 55 echo "PortCheckIgnore=2029" >>"${RCFILE}" 56 } 57 26 58 27 59 PORTPOLICY_2="
Note:
See TracChangeset
for help on using the changeset viewer.