* Fix: http1 parser termination with EOF required on freebsd flex

* Test: sed -i does not seem to work on all platforms
This commit is contained in:
Olof hagsand 2022-02-17 20:54:37 +01:00
parent bf00fdf2c1
commit 503c4f8754
4 changed files with 9 additions and 5 deletions

View file

@ -148,7 +148,9 @@ fi
echo -n "<data>">> $ftest
cat $fdataxml >> $ftest
echo "</data> " >> $ftest
sed -i '/<data>/!d' $foutput
# -i dont always work properly
sed '/<data>/!d' $foutput > $foutput2
mv $foutput2 $foutput
ret=$(diff -i $ftest $foutput)
if [ $? -ne 0 ]; then