mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
more error checking for hash builtin; fix for [[ builtin and some test syntax errors
This commit is contained in:
@@ -61,6 +61,10 @@ echo returns: $?
|
||||
[[ -z $UNSET ]]
|
||||
echo returns: $?
|
||||
|
||||
# need to handle test syntax errors and longjmp
|
||||
[[ -t X ]]
|
||||
echo returns: $?
|
||||
|
||||
# the ==/= and != operators do pattern matching
|
||||
[[ $TDIR == /usr/homes/* ]]
|
||||
echo returns: $?
|
||||
|
||||
Reference in New Issue
Block a user