From f36562218fa430c9aafa8e27c3e8568d9ae3fbd3 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 30 Jul 2018 15:40:13 -0400 Subject: [PATCH] Add call to ls upon failure of script --- TestScripts/cryptest-android.sh | 3 ++- TestScripts/cryptest-ios.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TestScripts/cryptest-android.sh b/TestScripts/cryptest-android.sh index 08da9730..b7440f51 100755 --- a/TestScripts/cryptest-android.sh +++ b/TestScripts/cryptest-android.sh @@ -12,7 +12,8 @@ set +e if [ -z $(command -v ./setenv-android-gcc.sh) ]; then - echo "Pailed to locate setenv-android-gcc.sh" + echo "Failed to locate setenv-android-gcc.sh" + ls -Al *.sh [[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1 fi diff --git a/TestScripts/cryptest-ios.sh b/TestScripts/cryptest-ios.sh index fde0a87e..48e0f82b 100755 --- a/TestScripts/cryptest-ios.sh +++ b/TestScripts/cryptest-ios.sh @@ -11,7 +11,8 @@ # ==================================================================== if [ -z $(command -v ./setenv-ios.sh) ]; then - echo "Pailed to locate setenv-ios.sh" + echo "Failed to locate setenv-ios.sh" + ls -Al *.sh [[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1 fi