commit bash-20091022 snapshot

This commit is contained in:
Chet Ramey
2011-12-08 20:18:59 -05:00
parent e1e48bbabe
commit b06e584e05
17 changed files with 202 additions and 21 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
BUILD_DIR=/usr/local/build/bash/bash-current
BUILD_DIR=/usr/local/build/chet/bash/bash-current
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
+4 -4
View File
@@ -16,17 +16,17 @@ after exec1.sub without args: 0
126
./execscript: line 46: .: /: is a directory
1
127
126
0
this is bashenv
./exec3.sub: line 3: /tmp/bash-notthere: No such file or directory
./exec3.sub: line 3: exec: /tmp/bash-notthere: cannot execute: No such file or directory
126
./execscript: line 68: notthere: No such file or directory
./execscript: line 70: notthere: No such file or directory
127
./execscript: line 71: notthere: No such file or directory
./execscript: line 73: notthere: No such file or directory
127
./execscript: line 74: notthere: No such file or directory
./execscript: line 76: notthere: No such file or directory
127
this is sh
this is sh
+2
View File
@@ -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 $?
+1
View File
@@ -1,3 +1,4 @@
cd ${TMPDIR:=/var/tmp}
rm -f u
${THIS_SH} -c 'exec 10>&1; echo fd 10 >&10' 10>u