Accept +1 and +0 in comparison to help test pass on slow machines.

pull/1021/head
Fredrik Öhrström 2023-08-16 21:56:50 +02:00
rodzic d0f9ffc820
commit a41bce1145
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -51,7 +51,7 @@ then
exit 1
fi
RES=$(cat $TEST/thelog2.txt | tr '\n' ' ' | tr -d ' ' | sed 's/|+1 /|+0 /g' )
RES=$(cat $TEST/thelog2.txt | tr '\n' ' ' | sed 's/|+1 /|+0 /g' | tr -d ' ' )
# The sed replacement reduces the risk of a failing test when the second counter happens to flip within the test run.