diff options
Diffstat (limited to 'tests/extglob4.sub')
| -rw-r--r-- | tests/extglob4.sub | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/extglob4.sub b/tests/extglob4.sub index 2ec8f319..2b4c53c9 100644 --- a/tests/extglob4.sub +++ b/tests/extglob4.sub @@ -19,7 +19,14 @@ echo @(*|.!(|.)) # wrong, adds . and .. echo @(*|@(f)) # ?? echo @(*|@(ff)) -cd / +echo !(f) +echo !(f)!(f) + +shopt -s dotglob +echo @(*|@(f)) +echo @(*|@(ff)) + +cd $OLDPWD rm -rf $GTDIR [[ a = a*?(/)b ]] && echo bad match 1 |
