diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2016-04-13 16:07:23 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-04-18 13:28:05 -0700 |
commit | 4b432ed3aa3ea586ebc4bb6cd9cf1d56a6d492ca (patch) | |
tree | c2d6026526a581a270b6eeaf75845f64340d55d0 /external/boot-tests | |
parent | 2bb9b99bf19b5f47f8659f56e641f79e76382dba (diff) | |
download | blackbird-skiboot-4b432ed3aa3ea586ebc4bb6cd9cf1d56a6d492ca.tar.gz blackbird-skiboot-4b432ed3aa3ea586ebc4bb6cd9cf1d56a6d492ca.zip |
boot-tests: allow running boot_test.sh via a symlink
In boot_test.sh, use readlink when working out the path to source
{fsp,bmc}_support.sh, so the script doesn't fail when run using a symlink
from outside the boot-tests directory.
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/boot-tests')
-rwxr-xr-x | external/boot-tests/boot_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/boot-tests/boot_test.sh b/external/boot-tests/boot_test.sh index 58e22825..40fc9541 100755 --- a/external/boot-tests/boot_test.sh +++ b/external/boot-tests/boot_test.sh @@ -243,7 +243,7 @@ fi # pull in the relevant config file and set things up -source $(dirname $0)/${method}_support.sh +source $(dirname $(readlink -f $0))/${method}_support.sh IPMI_COMMAND="ipmitool -I lanplus -H $target $IPMI_AUTH" msg "Running sanity test" |