'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.

Signed-off-by: Lisa Nguyen <lisa.ngu...@linaro.org>
---
 cpufreq/cpufreq_01.sh           |    4 ++--
 cpufreq/cpufreq_02.sh           |    4 ++--
 cpufreq/cpufreq_03.sh           |    4 ++--
 cpufreq/cpufreq_04.sh           |    4 ++--
 cpufreq/cpufreq_05.sh           |    4 ++--
 cpufreq/cpufreq_06.sh           |    4 ++--
 cpufreq/cpufreq_07.sh           |    4 ++--
 cpufreq/cpufreq_08.sh           |    4 ++--
 cpufreq/cpufreq_09.sh           |    4 ++--
 cpufreq/cpufreq_sanity.sh       |    4 ++--
 cpuhotplug/1_sanity_check.sh    |    4 ++--
 cpuhotplug/cpuhotplug_01.sh     |    5 ++---
 cpuhotplug/cpuhotplug_02.sh     |    4 ++--
 cpuhotplug/cpuhotplug_03.sh     |    4 ++--
 cpuhotplug/cpuhotplug_04.sh     |    4 ++--
 cpuhotplug/cpuhotplug_05.sh     |    4 ++--
 cpuhotplug/cpuhotplug_06.sh     |    4 ++--
 cpuhotplug/cpuhotplug_07.sh     |    4 ++--
 cpuhotplug/cpuhotplug_08.sh     |    4 ++--
 cpuhotplug/cpuhotplug_sanity.sh |    4 ++--
 cpuhotplug/z_sanity_check.sh    |    4 ++--
 cpuidle/cpuidle_01.sh           |    4 ++--
 cpuidle/cpuidle_02.sh           |    4 ++--
 cpuidle/cpuidle_03.sh           |    4 ++--
 cpuidle/cpuidle_sanity.sh       |    4 ++--
 cputopology/cputopology_01.sh   |    4 ++--
 cputopology/cputopology_02.sh   |    4 ++--
 include/functions.sh            |    4 ++--
 include/suspend_functions.sh    |    4 ++--
 include/thermal_functions.sh    |    2 +-
 powertop/powertop_01.sh         |    4 ++--
 powertop/powertop_sanity.sh     |    4 ++--
 suspend/suspend_01.sh           |    6 +++---
 suspend/suspend_02.sh           |    6 +++---
 suspend/suspend_03.sh           |    6 +++---
 suspend/suspend_04.sh           |    6 +++---
 suspend/suspend_05.sh           |    6 +++---
 suspend/suspend_sanity.sh       |    4 ++--
 thermal/thermal_00.sh           |    6 +++---
 thermal/thermal_01.sh           |    6 +++---
 thermal/thermal_02.sh           |    6 +++---
 thermal/thermal_03.sh           |    6 +++---
 thermal/thermal_04.sh           |    6 +++---
 thermal/thermal_05.sh           |    6 +++---
 thermal/thermal_06.sh           |    6 +++---
 thermal/thermal_sanity.sh       |    6 +++---
 utils/utils_sanity.sh           |    4 ++--
 47 files changed, 106 insertions(+), 107 deletions(-)

diff --git a/cpufreq/cpufreq_01.sh b/cpufreq/cpufreq_01.sh
index 6f092fe..fa86941 100755
--- a/cpufreq/cpufreq_01.sh
+++ b/cpufreq/cpufreq_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#cpufreq_01
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 FILES="scaling_available_frequencies scaling_cur_freq scaling_setspeed"
 
diff --git a/cpufreq/cpufreq_02.sh b/cpufreq/cpufreq_02.sh
index 34e19b7..d633d4f 100755
--- a/cpufreq/cpufreq_02.sh
+++ b/cpufreq/cpufreq_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#cpufreq_02
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 FILES="scaling_available_governors scaling_governor"
 
diff --git a/cpufreq/cpufreq_03.sh b/cpufreq/cpufreq_03.sh
index 65a6ad7..8aeeeb2 100755
--- a/cpufreq/cpufreq_03.sh
+++ b/cpufreq/cpufreq_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#cpufreq_03
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_governor() {
 
diff --git a/cpufreq/cpufreq_04.sh b/cpufreq/cpufreq_04.sh
index d4ed1bd..71ee69d 100755
--- a/cpufreq/cpufreq_04.sh
+++ b/cpufreq/cpufreq_04.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#cpufreq_04
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_frequency() {
 
diff --git a/cpufreq/cpufreq_05.sh b/cpufreq/cpufreq_05.sh
index 1f0dd8d..8df5ba2 100755
--- a/cpufreq/cpufreq_05.sh
+++ b/cpufreq/cpufreq_05.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#cpufreq_05
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 save_governors
 
diff --git a/cpufreq/cpufreq_06.sh b/cpufreq/cpufreq_06.sh
index e2e708a..fedec0f 100755
--- a/cpufreq/cpufreq_06.sh
+++ b/cpufreq/cpufreq_06.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#cpufreq_06
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 CPUCYCLE=../utils/cpucycle
 
diff --git a/cpufreq/cpufreq_07.sh b/cpufreq/cpufreq_07.sh
index b65d212..aef991f 100755
--- a/cpufreq/cpufreq_07.sh
+++ b/cpufreq/cpufreq_07.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#cpufreq_07
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 CPUBURN=../utils/cpuburn
 
diff --git a/cpufreq/cpufreq_08.sh b/cpufreq/cpufreq_08.sh
index 2250017..3cc60f8 100755
--- a/cpufreq/cpufreq_08.sh
+++ b/cpufreq/cpufreq_08.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#cpufreq_08
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 CPUBURN=../utils/cpuburn
 
diff --git a/cpufreq/cpufreq_09.sh b/cpufreq/cpufreq_09.sh
index 62c953d..f502b83 100755
--- a/cpufreq/cpufreq_09.sh
+++ b/cpufreq/cpufreq_09.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#cpufreq_09
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 CPUBURN=../utils/cpuburn
 
diff --git a/cpufreq/cpufreq_sanity.sh b/cpufreq/cpufreq_sanity.sh
index e3518b8..24784f9 100755
--- a/cpufreq/cpufreq_sanity.sh
+++ b/cpufreq/cpufreq_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
diff --git a/cpuhotplug/1_sanity_check.sh b/cpuhotplug/1_sanity_check.sh
index e091879..72be60c 100755
--- a/cpuhotplug/1_sanity_check.sh
+++ b/cpuhotplug/1_sanity_check.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 :
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 sanity_check() {
        local ret=$(cat $CPU_PATH/offline)
diff --git a/cpuhotplug/cpuhotplug_01.sh b/cpuhotplug/cpuhotplug_01.sh
index 8804df7..8591a21 100755
--- a/cpuhotplug/cpuhotplug_01.sh
+++ b/cpuhotplug/cpuhotplug_01.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -22,10 +22,9 @@
 #     Daniel Lezcano <daniel.lezc...@linaro.org> (IBM Corporation)
 #       - initial API and implementation
 #
-
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpuhotplug_01
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 FILES="online offline possible present"
 
diff --git a/cpuhotplug/cpuhotplug_02.sh b/cpuhotplug/cpuhotplug_02.sh
index d2bb5b4..8caf5e6 100755
--- a/cpuhotplug/cpuhotplug_02.sh
+++ b/cpuhotplug/cpuhotplug_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#cpuhotplug_02
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_state() {
     local cpu=$1
diff --git a/cpuhotplug/cpuhotplug_03.sh b/cpuhotplug/cpuhotplug_03.sh
index 2a5ae48..91c29ef 100755
--- a/cpuhotplug/cpuhotplug_03.sh
+++ b/cpuhotplug/cpuhotplug_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#cpuhotplug_03
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_affinity_fails() {
     local cpu=$1
diff --git a/cpuhotplug/cpuhotplug_04.sh b/cpuhotplug/cpuhotplug_04.sh
index 7938e7d..1f7efa7 100755
--- a/cpuhotplug/cpuhotplug_04.sh
+++ b/cpuhotplug/cpuhotplug_04.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -26,7 +26,7 @@
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpuhotplug_04
 
 CPUBURN=../utils/cpuburn
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_task_migrate() {
     local cpu=$1
diff --git a/cpuhotplug/cpuhotplug_05.sh b/cpuhotplug/cpuhotplug_05.sh
index 4042f2c..28f6f8c 100755
--- a/cpuhotplug/cpuhotplug_05.sh
+++ b/cpuhotplug/cpuhotplug_05.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#cpuhotplug_05
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_procinfo() {
     local cpu=$1
diff --git a/cpuhotplug/cpuhotplug_06.sh b/cpuhotplug/cpuhotplug_06.sh
index 0461e37..df9deaf 100755
--- a/cpuhotplug/cpuhotplug_06.sh
+++ b/cpuhotplug/cpuhotplug_06.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#cpuhotplug_06
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_procinfo() {
     local cpu=$1
diff --git a/cpuhotplug/cpuhotplug_07.sh b/cpuhotplug/cpuhotplug_07.sh
index a3526be..05b3a4b 100755
--- a/cpuhotplug/cpuhotplug_07.sh
+++ b/cpuhotplug/cpuhotplug_07.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#cpuhotplug_07
 
-source ../include/functions.sh
+. ../include/functions.sh
 TMPFILE=cpuhotplug_07.tmp
 
 check_notification() {
diff --git a/cpuhotplug/cpuhotplug_08.sh b/cpuhotplug/cpuhotplug_08.sh
index c6ef477..f7e51ce 100755
--- a/cpuhotplug/cpuhotplug_08.sh
+++ b/cpuhotplug/cpuhotplug_08.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#cpuhotplug_08
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 function randomize() {
     if [ $hotplug_allow_cpu0 -eq 0 ]; then
diff --git a/cpuhotplug/cpuhotplug_sanity.sh b/cpuhotplug/cpuhotplug_sanity.sh
index 9a9df25..d0d36a3 100755
--- a/cpuhotplug/cpuhotplug_sanity.sh
+++ b/cpuhotplug/cpuhotplug_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
diff --git a/cpuhotplug/z_sanity_check.sh b/cpuhotplug/z_sanity_check.sh
index c39413e..c888536 100755
--- a/cpuhotplug/z_sanity_check.sh
+++ b/cpuhotplug/z_sanity_check.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 :
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 sanity_check() {
        local ret=$(cat $CPU_PATH/offline)
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
diff --git a/cputopology/cputopology_01.sh b/cputopology/cputopology_01.sh
index 617c9b8..fece00c 100755
--- a/cputopology/cputopology_01.sh
+++ b/cputopology/cputopology_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#cputopology_01
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 check_physical_package_id() {
 
diff --git a/cputopology/cputopology_02.sh b/cputopology/cputopology_02.sh
index 84199c2..b0755ea 100755
--- a/cputopology/cputopology_02.sh
+++ b/cputopology/cputopology_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#cputopology_02
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 FILES="core_id core_siblings core_siblings_list physical_package_id \
 thread_siblings thread_siblings_list"
diff --git a/include/functions.sh b/include/functions.sh
index ebe96ad..033319b 100644
--- a/include/functions.sh
+++ b/include/functions.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 ../Switches.sh
+. ../Switches.sh
 
 CPU_PATH="/sys/devices/system/cpu"
 TEST_NAME=$(basename ${0%.sh})
diff --git a/include/suspend_functions.sh b/include/suspend_functions.sh
index 3be29f5..2e9ee21 100644
--- a/include/suspend_functions.sh
+++ b/include/suspend_functions.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Script to automate suspend / resume
 #
@@ -33,7 +33,7 @@
 #  - hongbo.zh...@linaro.org, March, 2012
 #
 
-source ./functions.sh
+. ../include/functions.sh
 
 LOGDIR='/var/lib/pm-utils'
 LOGFILE="$LOGDIR/stress.log"
diff --git a/include/thermal_functions.sh b/include/thermal_functions.sh
index bfc6620..f173e37 100644
--- a/include/thermal_functions.sh
+++ b/include/thermal_functions.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
diff --git a/powertop/powertop_01.sh b/powertop/powertop_01.sh
index c66b725..7d34a43 100755
--- a/powertop/powertop_01.sh
+++ b/powertop/powertop_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/Doc/QA/Scripts#powertop_01
 
-source ../include/functions.sh
+. ../include/functions.sh
 
 run_powertop() {
 
diff --git a/powertop/powertop_sanity.sh b/powertop/powertop_sanity.sh
index 3ae3065..aab019e 100755
--- a/powertop/powertop_sanity.sh
+++ b/powertop/powertop_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
 
 check_powertop() {
 
diff --git a/suspend/suspend_01.sh b/suspend/suspend_01.sh
index 6ba8d41..bcbcc4b 100755
--- a/suspend/suspend_01.sh
+++ b/suspend/suspend_01.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -26,8 +26,8 @@
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#suspend_01
 
 
-source ../include/functions.sh
-source ../include/suspend_functions.sh
+. ../include/functions.sh
+. ../include/suspend_functions.sh
 
 if [ "$suspend_dbus" -eq 0 ]; then
        log_skip "dbus message suspend test not enabled"
diff --git a/suspend/suspend_02.sh b/suspend/suspend_02.sh
index 666b6a5..9113434 100755
--- a/suspend/suspend_02.sh
+++ b/suspend/suspend_02.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -26,8 +26,8 @@
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#suspend_02
 
 
-source ../include/functions.sh
-source ../include/suspend_functions.sh
+. ../include/functions.sh
+. ../include/suspend_functions.sh
 
 if [ "$suspend_pmsuspend" -eq 0 ]; then
        log_skip "pm-suspend test not enabled"
diff --git a/suspend/suspend_03.sh b/suspend/suspend_03.sh
index 474d3f5..70bebc4 100755
--- a/suspend/suspend_03.sh
+++ b/suspend/suspend_03.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -26,8 +26,8 @@
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#suspend_03
 
 
-source ../include/functions.sh
-source ../include/suspend_functions.sh
+. ../include/functions.sh
+. ../include/suspend_functions.sh
 
 if [ "$suspend_mem" -eq 0 ]; then
        log_skip "suspend to ram via sysfs not enabled"
diff --git a/suspend/suspend_04.sh b/suspend/suspend_04.sh
index 1f62cab..f937c5a 100755
--- a/suspend/suspend_04.sh
+++ b/suspend/suspend_04.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -26,8 +26,8 @@
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#suspend_04
 
 
-source ../include/functions.sh
-source ../include/suspend_functions.sh
+. ../include/functions.sh
+. ../include/suspend_functions.sh
 
 if [ "$suspend_ac" -eq 0 ]; then
        log_skip "suspend test involving ac power remove"
diff --git a/suspend/suspend_05.sh b/suspend/suspend_05.sh
index 9d5793e..36d613e 100755
--- a/suspend/suspend_05.sh
+++ b/suspend/suspend_05.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -26,8 +26,8 @@
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#suspend_05
 
 
-source ../include/functions.sh
-source ../include/suspend_functions.sh
+. ../include/functions.sh
+. ../include/suspend_functions.sh
 
 args_power_sleep=60
 
diff --git a/suspend/suspend_sanity.sh b/suspend/suspend_sanity.sh
index 0f2b5d5..f37eccb 100755
--- a/suspend/suspend_sanity.sh
+++ b/suspend/suspend_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
diff --git a/thermal/thermal_00.sh b/thermal/thermal_00.sh
index cdc5a10..672b0ff 100755
--- a/thermal/thermal_00.sh
+++ b/thermal/thermal_00.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -25,8 +25,8 @@
 
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#thermal_00
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 
 check_cooling_device_type() {
     local all_zones=$(ls $THERMAL_PATH | grep "cooling_device['$MAX_CDEV']")
diff --git a/thermal/thermal_01.sh b/thermal/thermal_01.sh
index dac26d1..57f64a7 100755
--- a/thermal/thermal_01.sh
+++ b/thermal/thermal_01.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -25,8 +25,8 @@
 
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_01
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 
 ATTRIBUTES="mode temp type uevent"
 
diff --git a/thermal/thermal_02.sh b/thermal/thermal_02.sh
index 1f53612..8105d80 100755
--- a/thermal/thermal_02.sh
+++ b/thermal/thermal_02.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -25,8 +25,8 @@
 
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_02
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 
 CDEV_ATTRIBUTES="cur_state max_state type uevent"
 
diff --git a/thermal/thermal_03.sh b/thermal/thermal_03.sh
index cf53a1a..a4504f5 100755
--- a/thermal/thermal_03.sh
+++ b/thermal/thermal_03.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -25,8 +25,8 @@
 
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_03
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 
 CPU_HEAT_BIN=../utils/heat_cpu
 cpu_pid=0
diff --git a/thermal/thermal_04.sh b/thermal/thermal_04.sh
index 8bf3799..058920c 100755
--- a/thermal/thermal_04.sh
+++ b/thermal/thermal_04.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -25,8 +25,8 @@
 
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_04
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 HEAT_CPU_MODERATE=../utils/heat_cpu
 pid=0
 
diff --git a/thermal/thermal_05.sh b/thermal/thermal_05.sh
index 52a0ac2..68c44d3 100755
--- a/thermal/thermal_05.sh
+++ b/thermal/thermal_05.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -25,8 +25,8 @@
 
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_05
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 
 verify_cpufreq_cooling_device_action() {
     local dirpath=$THERMAL_PATH/$1
diff --git a/thermal/thermal_06.sh b/thermal/thermal_06.sh
index d8877f0..5c80b6a 100755
--- a/thermal/thermal_06.sh
+++ b/thermal/thermal_06.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -25,8 +25,8 @@
 
 # URL : 
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_06
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 
 if [ "$thermal_try_max" -eq 0 ]; then
     log_skip "test of trip points being crossed"
diff --git a/thermal/thermal_sanity.sh b/thermal/thermal_sanity.sh
index c9149c0..1e5b5af 100755
--- a/thermal/thermal_sanity.sh
+++ b/thermal/thermal_sanity.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # PM-QA validation test suite for the power management on Linux
 #
@@ -23,8 +23,8 @@
 #       - initial API and implementation
 #
 
-source ../include/functions.sh
-source ../include/thermal_functions.sh
+. ../include/functions.sh
+. ../include/thermal_functions.sh
 
 is_root
 if [ $? -ne 0 ]; then
diff --git a/utils/utils_sanity.sh b/utils/utils_sanity.sh
index 84f4905..c5bdcd7 100755
--- a/utils/utils_sanity.sh
+++ b/utils/utils_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
-- 
1.7.9.5


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to