]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/builtins7.sub
Bash-5.2-rc4 release
[thirdparty/bash.git] / tests / builtins7.sub
CommitLineData
8868edaf
CR
1: ${THIS_SH:=./bash}
2
3${THIS_SH} -c 'command . notthere ; echo one' bash
4${THIS_SH} -c '. notthere ; echo two' bash
5
6${THIS_SH} -o posix -c 'command . notthere ; echo one' bash
7${THIS_SH} -o posix -c '. notthere ; echo two' bash
8
9command ; echo $?
10command -- ; echo $?
11command -p ; echo $?
12command -p -- ; echo $?
13
14command recho one; echo $?
15command -- recho two; echo $?
16command -p echo three; echo $?
17command -p -- echo four ; echo $?
18
19command ''
20echo $?
21
22command -p
23echo $?
24
25${THIS_SH} -c 'set -e ; command false ; echo after' bash
26
27command command command -p . notthere ; echo after 1
28command -p command command . notthere ; echo after 2
29
30command -p command -V type
31
32set -x
33command -v type
34command command -v type
35command -p command -v type
36command -p -- command -v type
37set +x
38