diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index 4b85c6179..e23ac1f21 100755 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -1056,7 +1056,7 @@ function waitforserial_disconnect() { sleep 1 done - if lsblk -l -o NAME | grep -q -w $1; then + if lsblk -l -o NAME,SERIAL | grep -q -w $1; then return 1 fi