]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/extglob5.sub
Bash-5.0 patch 11: fix quoted null character removal in operands of conditional ...
[thirdparty/bash.git] / tests / extglob5.sub
1 # globignore extglob patterns containing colons -- problem until bash-4.2
2
3 : ${TMPDIR:=/tmp}
4 TESTDIR=$TMPDIR/bash-globignore-$$
5 [ -d "$TESTDIR" ] || mkdir "$TESTDIR"
6
7 cd "$TESTDIR" || exit 2
8
9 shopt -s extglob
10 GLOBIGNORE='+([^[:alnum:]]):@([-.,:; _]):[![:alnum:]]'
11
12 touch ';' '++'
13 echo *
14
15 rm ';' '++'
16
17 cd $OLDPWD
18 rmdir $TESTDIR