diff options
author | Thomas Abraham <thomas.abraham@arm.com> | 2019-02-26 19:11:54 +0530 |
---|---|---|
committer | Thomas Abraham <thomas.abraham@arm.com> | 2019-02-26 19:20:08 +0530 |
commit | 65982e82b15f1c14df702a15ca0823b2d34b8ca4 (patch) | |
tree | 3fd902de3b072d8e55b653a58019de6038d7dea0 | |
parent | 053ff395e8b10f2159a833d297fd286802485f01 (diff) |
sgi/tests: update access path to sgi_common_util.sh from test scripts
The test scripts under sgi/ directory will be used by other platforms
as well. To allow access to sgi_common_util.sh from test scripts when
tests are invoked from platforms other than sgi/, update the path to
the sgi_common_util.sh script in each of the supported tests.
Change-Id: I3a724aeee77106f8b4692a46df9e1ec882fe9424
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
-rwxr-xr-x | sgi/acs.sh | 2 | ||||
-rwxr-xr-x | sgi/boot.sh | 2 | ||||
-rwxr-xr-x | sgi/distro.sh | 2 | ||||
-rwxr-xr-x | sgi/kvm.sh | 2 | ||||
-rwxr-xr-x | sgi/ras.sh | 2 | ||||
-rwxr-xr-x | sgi/sct.sh | 2 | ||||
-rwxr-xr-x | sgi/secure_boot.sh | 2 | ||||
-rwxr-xr-x | sgi/tftf.sh | 2 |
8 files changed, 9 insertions, 7 deletions
@@ -30,7 +30,7 @@ # POSSIBILITY OF SUCH DAMAGE. ################################################################################# -source sgi_common_util.sh +source $PWD/../sgi/sgi_common_util.sh declare -A sgi_platforms sgi_platforms[sgi575]=1 diff --git a/sgi/boot.sh b/sgi/boot.sh index 8ae71d6..5ddb742 100755 --- a/sgi/boot.sh +++ b/sgi/boot.sh @@ -31,7 +31,7 @@ platform_dir="" -source sgi_common_util.sh +source $PWD/../sgi/sgi_common_util.sh declare -A sgi_platforms sgi_platforms[sgi575]=1 diff --git a/sgi/distro.sh b/sgi/distro.sh index b12925a..a5e0bec 100755 --- a/sgi/distro.sh +++ b/sgi/distro.sh @@ -29,6 +29,8 @@ # POSSIBILITY OF SUCH DAMAGE. ################################################################################# +source $PWD/../sgi/sgi_common_util.sh + installer_image="" disk_size="" mode="" @@ -39,7 +39,7 @@ RUNDIR=$(pwd) IP="10.0.2.16" # defualt IP RC_ERROR=1 -source sgi_common_util.sh +source $PWD/../sgi/sgi_common_util.sh HOST_OS_LOG_FILE=kvm_test_host_os_${MYPID}_$CURRENT_DATE_TIME.log GUEST_OS0_BOOT_LOG=kvm_test_guest_os0_${MYPID}_$CURRENT_DATE_TIME.log @@ -43,7 +43,7 @@ RESULT_LOG_FILE1=ras_test.log RESULT_LOG_FILE2=ras_mm_test.log RESULT_FILE=ras_test_result.log -source sgi_common_util.sh +source $PWD/../sgi/sgi_common_util.sh declare -A sgi_platforms sgi_platforms[sgi575]=1 @@ -30,7 +30,7 @@ # POSSIBILITY OF SUCH DAMAGE. ################################################################################# -source sgi_common_util.sh +source $PWD/../sgi/sgi_common_util.sh declare -A sgi_platforms sgi_platforms[sgi575]=1 diff --git a/sgi/secure_boot.sh b/sgi/secure_boot.sh index f5ba1dc..eff07d2 100755 --- a/sgi/secure_boot.sh +++ b/sgi/secure_boot.sh @@ -31,7 +31,7 @@ platform_dir="" -source sgi_common_util.sh +source $PWD/../sgi/sgi_common_util.sh declare -A sgi_platforms sgi_platforms[sgi575]=1 diff --git a/sgi/tftf.sh b/sgi/tftf.sh index 9bb5fc5..a13eb01 100755 --- a/sgi/tftf.sh +++ b/sgi/tftf.sh @@ -31,7 +31,7 @@ platform_dir="" -source sgi_common_util.sh +source $PWD/../sgi/sgi_common_util.sh declare -A sgi_platforms sgi_platforms[sgi575]=1 |