changes to several error messages; more test suite additions

This commit is contained in:
Chet Ramey
2023-10-04 15:04:31 -04:00
parent 00edd0ee50
commit 9c83052f48
95 changed files with 1332 additions and 294 deletions
+9
View File
@@ -38,6 +38,11 @@ ${THIS_SH} ./invocation1.sub
# SHELLOPTS
${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
@@ -63,5 +68,9 @@ command cd -L $TDIR
# but this results in a bad-interpreter error
./x23
# this should result in a cannot execute binary file error since ls is in $PATH
PATH=/bin:/usr/bin
${THIS_SH} ls |& sed 's|^.*: ||'
cd $SAVEPWD
rm -rf $TDIR