Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils_net: make function safe for serial session
On serial sessions, kernel messages can clutter the output. aexpects 'safe' functions deal with this. A test failed because of such clutter: """ Interface info :[ 15.114033] block dm-0: the capability attribute has been deprecated.ip -json addr show[{"ifindex":1,"ifname":"lo","flags":["... """ leads to """ Failed to get interface info via "ip" command. Reason: Extra data: line 1 column 16 (char 15) """ The 'safe' option removes the "[ 15... deprecated." so that the json can be parsed correctly. Signed-off-by: Sebastian Mitterle <[email protected]>
- Loading branch information