]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/globstar.tests
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / globstar.tests
CommitLineData
495aee44
CR
1: ${TMPDIR:=/var/tmp}
2dir=$PWD
3
4shopt -s globstar
5
6export LANG=C LC_ALL=C LC_COLLATE=C
7
8GDIR=$TMPDIR/globstar-$$
9
10mkdir $GDIR || exit 1
11cd $GDIR || exit 1
12
13mkdir lib builtins
14mkdir lib/glob lib/readline lib/sh
15
16touch builtins/history.o builtins/jobs.o builtins/kill.o builtins/let.o builtins/mapfile.o
17touch lib/glob/glob.o lib/glob/smatch.o lib/glob/strmatch.o
18touch lib/readline/bind.o lib/readline/callback.o lib/readline/compat.o lib/readline/complete.o lib/readline/display.o
19
20touch lib/sh/casemod.o lib/sh/clktck.o lib/sh/clock.o lib/sh/eaccess.o
21touch lib/sh/fdprintf.o lib/sh/fmtullong.o lib/sh/fmtulong.o lib/sh/fmtumax.o
22touch lib/sh/fpurge.o lib/sh/getenv.o lib/sh/input_avail.o lib/sh/itos.o
23
24touch alias.o
25touch pcomplib.o print_cmd.o redir.o shell.o sig.o stringlib.o subst.o syntax.o
26touch test.o trap.o unwind_prot.o variables.o version.o xmalloc.o y.tab.o
27
28ls lib/**
29
30ls lib/**/*.o
31
32echo **/*.o
33
34ls **
35
36echo **
37
38cd $dir
39rm -rf $GDIR
40
41${THIS_SH} ./globstar1.sub
ac50fbac 42${THIS_SH} ./globstar2.sub