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,28 @@
name: "Builtins: let"
cases:
- name: "Basic let usage"
stdin: |
let 0; echo "0 => $?"
let 1; echo "1 => $?"
let 0==0; echo "0==0 => $?"
let 0!=0; echo "0!=0 => $?"
let 1 0; echo "1 0 => $?"
let 0 1; echo "0 1 => $?"
- name: "let with assignment"
stdin: |
let x=10; echo "x=10 => $?; x==${x}"
- name: "let assignment through nameref"
known_failure: true
stdin: |
target=0
declare -n ref=target
let ref=42
echo "target: $target"
let ref+=8
echo "target: $target"
let ref++
echo "target: $target"