summaryrefslogtreecommitdiffstats
path: root/tests/include.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include.rc')
-rw-r--r--tests/include.rc15
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 2c374465baa..db79711d9e5 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -13,15 +13,18 @@ OSTYPE=$(uname -s)
ENV_RC=$(dirname $0)/../env.rc
if [ ! -f $ENV_RC ]; then
ENV_RC=$(dirname $0)/../../env.rc
+ if [ ! -f $ENV_RC ]; then
+ ENV_RC=$(dirname $0)/../../../env.rc
+ fi
fi
if [ ! -f $ENV_RC ]; then
- echo "Aborting."
- echo
- echo "env.rc not found"
- echo
- echo "Please correct the problem and try again."
- echo
+ echo "Aborting." | tee /dev/stderr
+ echo | tee /dev/stderr
+ echo "env.rc not found" | tee /dev/stderr
+ echo | tee /dev/stderr
+ echo "Please correct the problem and try again." | tee /dev/stderr
+ echo | tee /dev/stderr
exit 1
fi
. $ENV_RC