summaryrefslogtreecommitdiff
path: root/tests/misc/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/env.sh')
-rwxr-xr-xtests/misc/env.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc/env.sh b/tests/misc/env.sh
index 883c58f54..d06a1fb08 100755
--- a/tests/misc/env.sh
+++ b/tests/misc/env.sh
@@ -25,6 +25,10 @@ echo "#!$abs_top_builddir/src/echo simple_echo" > simple_echo \
|| framework_failure_
chmod a+x simple_echo || framework_failure_
+# Verify we can run the shebang which is not the case if
+# there are spaces in $abs_top_builddir.
+./simple_echo || skip_ "Error running simple_echo script"
+
# Verify clearing the environment
a=1
export a