Call USART_StructInit() instead of assign variable directly
Refine check result disply message
Fix wrong comparison when make gdbauto at second time

The reason is that gdb script appends string to a
existed log file. Quick solution is to remove the
log file at beginning.
Detaches test program before quit