Skip to content
Commit 45d5a2b1 authored by Nícolas F. R. A. Prado's avatar Nícolas F. R. A. Prado Committed by Shuah Khan
Browse files

selftests: ktap_helpers: Make it POSIX-compliant



There are a couple uses of bash specific syntax in the script. Change
them to the equivalent POSIX syntax. This doesn't change functionality
and allows non-bash test scripts to make use of these helpers.

Reported-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
Closes: https://lore.kernel.org/all/efae4037-c22a-40be-8ba9-7c1c12ece042@topic.nl/


Fixes: 2dd0b5a8 ("selftests: ktap_helpers: Add a helper to finish the test")
Fixes: 14571ab1 ("kselftest: Add new test for detecting unprobed Devicetree devices")
Signed-off-by: default avatarNícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent c7e84706
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment