kopia lustrzana https://github.com/weetmuts/wmbusmeters
Accept +1 and +0 in comparison to help test pass on slow machines.
rodzic
d0f9ffc820
commit
a41bce1145
|
@ -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.
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue