File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090 )
9191 for i in $PERMUTATIONS ; do
9292 echo -e " \nTesting $SIDE permutations order $i ...\n"
93- UDP_LOGFILE=/tmp/udp-$SIDE -$i
94- rm -f $UDP_LOGFILE
93+ UDP_LOGFILE=$( mktemp)
9594 run_test " -r $i -S $SIDE -l $UDP_LOGFILE " " -Ta -w" " -w"
9695 echo " ...produced $( grep -P ' client:|server:' $UDP_LOGFILE | wc -l) messages"
96+ rm -f $UDP_LOGFILE
9797 done
9898 echo " All $SIDE msg permutations succeeded"
9999}
@@ -112,10 +112,10 @@ EOF
112112 )
113113 for DELAY in $DELAYS ; do
114114 echo -e " \nTesting delay $DELAY ...\n"
115- UDP_LOGFILE=/tmp/udp-delay-$DELAY
116- rm -f $UDP_LOGFILE
115+ UDP_LOGFILE=$( mktemp)
117116 run_test " -l $UDP_LOGFILE -t $DELAY " " -Ta -w" " -w"
118117 echo " ...produced $( grep -P ' client:|server:' $UDP_LOGFILE | wc -l) messages"
118+ rm -f $UDP_LOGFILE
119119 done
120120}
121121
You can’t perform that action at this time.
0 commit comments