30 lines
643 B
YAML
30 lines
643 B
YAML
name: "Builtins: help"
|
|
cases:
|
|
- name: "Help"
|
|
ignore_stdout: true
|
|
ignore_stderr: true
|
|
stdin: |
|
|
help
|
|
|
|
- name: "Topic-specific help"
|
|
ignore_stdout: true
|
|
ignore_stderr: true
|
|
stdin: |
|
|
help echo
|
|
|
|
- name: "Help for unknown topic returns non-zero"
|
|
ignore_stdout: true
|
|
ignore_stderr: true
|
|
stdin: |
|
|
help this-is-not-a-real-builtin
|
|
|
|
- name: "Help for known and unknown topics returns zero"
|
|
ignore_stdout: true
|
|
ignore_stderr: true
|
|
stdin: |
|
|
help echo this-is-not-a-real-builtin
|
|
|
|
- name: "help -s frames each synopsis on its own line"
|
|
stdin: |
|
|
help -s true false :
|