Add some more type tests

This commit is contained in:
Fabian Homborg 2020-09-21 17:45:15 +02:00
parent 3a05326a39
commit 7934972751

View file

@ -40,3 +40,15 @@ type realpath | grep -v "^ *"
type -t realpath foobar
# CHECK: function
# CHECKERR: type: Could not find {{.}}foobar{{.}}
type -P test
# CHECK: test is {{.*}}/test
type -P ls
# CHECK: ls is {{.*}}/ls
type
echo $status
# CHECK: 1
type -q
echo $status
# CHECK: 1