summaryrefslogtreecommitdiff
path: root/tests/execscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/execscript')
-rw-r--r--tests/execscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/execscript b/tests/execscript
index 09a4ba5..3629c57 100644
--- a/tests/execscript
+++ b/tests/execscript
@@ -48,6 +48,8 @@ echo $?
# try sourcing a binary file -- post-2.04 versions don't do the binary file
# check, and will probably fail with `command not found', or status 127
+# bash-4.1 and later check for 256 NUL characters and fail as binary files
+# if there are more than that, it's probably binary
. ${THIS_SH} 2>/dev/null
echo $?
@@ -105,6 +107,8 @@ ${THIS_SH} ./exec6.sub
# checks for properly deciding what constitutes an executable file
${THIS_SH} ./exec7.sub
+${THIS_SH} -i ./exec8.sub
+
true | `echo true` &
echo after