trace: Improve the trace test number recognition
authorSimon Glass <sjg@chromium.org>
Wed, 24 Feb 2016 16:14:47 +0000 (09:14 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Feb 2016 15:53:10 +0000 (08:53 -0700)
commitf91281b1eb8897cb49a395666aa58ae4c8c62c6c
treed8796d2690e47b84960d65dcad212a7db58ea303
parent83cc112e82fea5f521a3bf6334dce6e6c56ef0e6
trace: Improve the trace test number recognition

The awk tool can be confused by return character (ASCII 13) in its input
since it thinks there is a separate field. These can appear if the terminal
is in raw mode, perhaps due to a previous U-Boot crash with sandbox. This
is very confusing. Remove these so that the trace test passes.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/trace/test-trace.sh