Merge nucleic/sleek-thistle-egret-fyej into dev

This commit is contained in:
2026-07-18 05:19:31 -07:00
commit b6be87b72d
677 changed files with 102939 additions and 0 deletions
@@ -0,0 +1,44 @@
name: "Builtins: builtin"
cases:
- name: "builtin with no builtin"
stdin: builtin
- name: "builtin with unknown builtin"
ignore_stderr: true
stdin: builtin not-a-builtin args
- name: "valid builtin"
stdin: builtin echo "Hello world"
- name: "valid builtin with hyphen args"
stdin: builtin echo -e "Hello\nWorld"
- name: "builtin passing through results"
stdin: |
builtin false; echo "builtin false => $?"
builtin true; echo "builtin true => $?"
- name: "builtin with non-decl builtin"
stdin: |
builtin echo variable=value
- name: "builtin with decl builtin"
stdin: |
builtin declare variable=value
declare -p variable
- name: "builtin with disabled builtin"
ignore_stderr: true
incompatible_os:
- opensuse-tumbleweed
stdin: |
cd .
echo $?
enable -n cd
builtin cd .
echo $?
enable cd
builtin cd .
echo $?