pySim-prog_test: supress stderr when probing for cards
When probing for cards, the probing might fail in case the terminal is empty. This results into lengthy error log output that is not of interest. Related: OS#6532 Change-Id: I1d44f9458a05992d79b0152d3affcfeb783cccff
This commit is contained in:
@@ -119,7 +119,7 @@ function gen_ok_file {
|
||||
# reader
|
||||
function probe_card {
|
||||
TERMINAL=$1
|
||||
RESULT=$(timeout 5 $PYSIM_PROG -p $TERMINAL -T | cut -d ":" -f 2 | tail -n 1 | xargs)
|
||||
RESULT=$(timeout 5 $PYSIM_PROG -p $TERMINAL -T 2> /dev/null | cut -d ":" -f 2 | tail -n 1 | xargs)
|
||||
echo $RESULT
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user