commit | 69b4c107a643db8ba310af35c2cf74a75220e25b | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 14 11:55:54 2023 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Apr 17 14:51:12 2023 +0000 |
tree | 8cb6948b86fb1aa3c4a836a149b03108e37baafe | |
parent | 6ede16aca1f37936990c9ea47cdf47a3213b49e9 [diff] [blame] |
meta-phosphor: run-ptest: fix shellcheck issues Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iaefc691917edf1342854fa4ea0950283a7d175c8
diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb/run-ptest b/meta-phosphor/recipes-phosphor/interfaces/bmcweb/run-ptest index f2a522a..49d8d21 100644 --- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb/run-ptest +++ b/meta-phosphor/recipes-phosphor/interfaces/bmcweb/run-ptest
@@ -1,8 +1,7 @@ #!/bin/sh -for i in `ls test/*_test`; do - $i - if [ $? -eq 0 ]; then +for i in test/*_test; do + if $i ; then echo "PASS: $i" else echo "FAIL: $i"