mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 10:50:50 +02:00
changes to quoting for some globbing characters; regularize error behavior of builtins that take numeric arguments and complain about too many arguments
This commit is contained in:
@@ -41,13 +41,15 @@ ${THIS_SH} ./invocation2.sub
|
||||
# rudimentary pretty-print tests
|
||||
${THIS_SH} ./invocation3.sub
|
||||
|
||||
${THIS_SH} --login -c 'logout'
|
||||
|
||||
: ${TMPDIR:=/tmp}
|
||||
TDIR=$TMPDIR/invocation-$$
|
||||
mkdir $TDIR || exit 1
|
||||
SAVEPWD=$PWD
|
||||
|
||||
echo 'echo this is bash_logout' > $TDIR/.bash_logout
|
||||
HOME=$TDIR ${THIS_SH} --login -c 'logout'
|
||||
rm -f $TDIR/.bash_logout
|
||||
|
||||
# script that ends with a comment and no newline
|
||||
printf 'echo a # comment' > $TDIR/x23.in
|
||||
${THIS_SH} $TDIR/x23.in
|
||||
|
||||
Reference in New Issue
Block a user