diff options
author | Lisa Nguyen <lisa.nguyen@linaro.org> | 2015-01-25 18:16:45 -0800 |
---|---|---|
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | 2015-02-02 13:50:17 -0800 |
commit | adf9df99d4d28e4e82aeb8189d0e9d102ab08103 (patch) | |
tree | ee1c5d5c6d8bc98f97cc0caca88c14cb2a20a2dd /cpuidle | |
parent | bdd94ec9204151ba845e9c057de92360c63bbffb (diff) |
Fix path to library files and change shebang line
'source' is a BASH keyword. Edit the path to the library files by
using the POSIX version of the 'source' keyword.
Also change the interpreter from #!/bin/bash to #!/bin/sh.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
Diffstat (limited to 'cpuidle')
-rwxr-xr-x | cpuidle/cpuidle_01.sh | 4 | ||||
-rwxr-xr-x | cpuidle/cpuidle_02.sh | 4 | ||||
-rwxr-xr-x | cpuidle/cpuidle_03.sh | 4 | ||||
-rwxr-xr-x | cpuidle/cpuidle_sanity.sh | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/cpuidle/cpuidle_01.sh b/cpuidle/cpuidle_01.sh index 8aa62c2..777cc34 100755 --- a/cpuidle/cpuidle_01.sh +++ b/cpuidle/cpuidle_01.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # PM-QA validation test suite for the power management on Linux # @@ -25,7 +25,7 @@ # URL : https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpuidle_01 -source ../include/functions.sh +. ../include/functions.sh STATES="desc latency name power time usage" FILES="current_driver current_governor_ro" diff --git a/cpuidle/cpuidle_02.sh b/cpuidle/cpuidle_02.sh index 0056382..61176d7 100755 --- a/cpuidle/cpuidle_02.sh +++ b/cpuidle/cpuidle_02.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # PM-QA validation test suite for the power management on Linux # @@ -25,7 +25,7 @@ # URL : https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpuidle_02 -source ../include/functions.sh +. ../include/functions.sh CPUIDLE_KILLER=./cpuidle_killer diff --git a/cpuidle/cpuidle_03.sh b/cpuidle/cpuidle_03.sh index 663d385..036ff22 100755 --- a/cpuidle/cpuidle_03.sh +++ b/cpuidle/cpuidle_03.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # PM-QA validation test suite for the power management on Linux # @@ -25,7 +25,7 @@ # URL : https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpuidle_03 -source ../include/functions.sh +. ../include/functions.sh CPUIDLE_KILLER=./cpuidle_killer diff --git a/cpuidle/cpuidle_sanity.sh b/cpuidle/cpuidle_sanity.sh index 65fe549..594f891 100755 --- a/cpuidle/cpuidle_sanity.sh +++ b/cpuidle/cpuidle_sanity.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # PM-QA validation test suite for the power management on Linux # @@ -23,7 +23,7 @@ # - initial API and implementation # -source ../include/functions.sh +. ../include/functions.sh is_root if [ $? -ne 0 ]; then |