summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2018-05-29 07:10:09 -0700
committerArthur She <arthur.she@linaro.org>2018-05-29 07:10:09 -0700
commitdf9b367255ef249f34a2e0034ad701de9b8d703e (patch)
tree90a9bdaaf26a71cdd04b1b20b6258e42c4f4f0c8
parent939f802db7fbd063ac4b03ad5cfffdef40da37ba (diff)
pritee_test_utility
There is no bash in hikey OE build, so we have to use '/bin/sh' in shell script.
-rwxr-xr-xautomated/linux/pritee_test_utility/pritee_test_utility.sh2
-rw-r--r--automated/linux/pritee_test_utility/pritee_test_utility.yaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/automated/linux/pritee_test_utility/pritee_test_utility.sh b/automated/linux/pritee_test_utility/pritee_test_utility.sh
index 8f432c0..cb6f93a 100755
--- a/automated/linux/pritee_test_utility/pritee_test_utility.sh
+++ b/automated/linux/pritee_test_utility/pritee_test_utility.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
echo $1
while IFS='' read -r line || [[ -n "$line" ]]; do
diff --git a/automated/linux/pritee_test_utility/pritee_test_utility.yaml b/automated/linux/pritee_test_utility/pritee_test_utility.yaml
index bcedf03..dac3177 100644
--- a/automated/linux/pritee_test_utility/pritee_test_utility.yaml
+++ b/automated/linux/pritee_test_utility/pritee_test_utility.yaml
@@ -14,9 +14,9 @@ run:
steps:
- chmod a+x /usr/bin/pritee_test_utility.exe
- cd automated/linux/pritee_test_utility
- - pwd; ls -l
- /usr/bin/pritee_test_utility.exe -drmpath:/usr/share/playready | tee pritee_test_utility.log
- - pwd; ls -l; ./pritee_test_utility.sh pritee_test_utility.log
+ - pwd; ls -l;
+ - ./pritee_test_utility.sh pritee_test_utility.log
parse:
pattern: "^(?P<test_case_id>[a-zA-Z_-]+)::\\s(?P<result>\\w+)"
fixupdict: