Redirect error message to stderr
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index fdd7b94..c17d627 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -120,7 +120,7 @@
in_mbedtls_repo () {
if [ ! -f $PROJECT_NAME_FILE ]; then
- echo "$PROJECT_NAME_FILE does not exist... Exiting..."
+ echo "$PROJECT_NAME_FILE does not exist... Exiting..." >&2
exit 1
fi
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
@@ -128,7 +128,7 @@
in_tf_psa_crypto_repo () {
if [ ! -f $PROJECT_NAME_FILE ]; then
- echo "$PROJECT_NAME_FILE does not exist... Exiting..."
+ echo "$PROJECT_NAME_FILE does not exist... Exiting..." >&2
exit 1
fi
grep -Fxq "TF-PSA-Crypto" "$PROJECT_NAME_FILE"