aboutsummaryrefslogtreecommitdiff
path: root/suspend
diff options
context:
space:
mode:
Diffstat (limited to 'suspend')
-rwxr-xr-xsuspend/suspend_01.sh6
-rwxr-xr-xsuspend/suspend_02.sh6
-rwxr-xr-xsuspend/suspend_03.sh6
-rwxr-xr-xsuspend/suspend_04.sh6
-rwxr-xr-xsuspend/suspend_05.sh6
-rwxr-xr-xsuspend/suspend_sanity.sh4
6 files changed, 17 insertions, 17 deletions
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