mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-27 15:43:18 +02:00
changes for PATH being the empty string; more minor asan fixes
This commit is contained in:
+10
-2
@@ -65,15 +65,23 @@ ${THIS_SH} ./exec3.sub
|
||||
rm -f $TMPDIR/bashenv
|
||||
unset BASH_ENV
|
||||
|
||||
# these results should be the same as with an empty PATH
|
||||
PATH=.
|
||||
|
||||
notthere
|
||||
echo $?
|
||||
command notthere
|
||||
echo $?
|
||||
command -p notthere
|
||||
echo $?
|
||||
|
||||
# we're resetting the $PATH to empty, so this should be last
|
||||
PATH=
|
||||
|
||||
notthere
|
||||
echo $?
|
||||
|
||||
command notthere
|
||||
echo $?
|
||||
|
||||
command -p notthere
|
||||
echo $?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user