mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 21:48:30 +00:00
Make tests/*.sh runnable from anywhere
This commit is contained in:
parent
bcc2683409
commit
751286be39
2 changed files with 10 additions and 0 deletions
|
@ -955,6 +955,11 @@ run_client() {
|
||||||
# MAIN
|
# MAIN
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if cd $( dirname $0 ); then :; else
|
||||||
|
echo "cd $( dirname $0 ) failed" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
get_options "$@"
|
get_options "$@"
|
||||||
|
|
||||||
# sanity checks, avoid an avalanche of errors
|
# sanity checks, avoid an avalanche of errors
|
||||||
|
|
|
@ -342,6 +342,11 @@ cleanup() {
|
||||||
# MAIN
|
# MAIN
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if cd $( dirname $0 ); then :; else
|
||||||
|
echo "cd $( dirname $0 ) failed" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
get_options "$@"
|
get_options "$@"
|
||||||
|
|
||||||
# sanity checks, avoid an avalanche of errors
|
# sanity checks, avoid an avalanche of errors
|
||||||
|
|
Loading…
Reference in a new issue