nix-idioms () { run-file nix-idioms "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" } nix-idioms: spec test case results

Results for nix-idioms.test.sh

statusbashosh
pass 65
ok 01
total66
casebashoshdescription
0pass pass var ref to array 'preHooks[@]'
1pass pass Similar to above with set -u
2pass pass ${!ref} to undefined array
3pass pass ${!ref} to undefined string var is fatal, INCONSISTENT with array
4pass ok export with dynamic var name +=
details
5pass pass let idiom can be written in POSIX shell - eval ": \$(( ))"
11 passed, 1 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh4 export with dynamic var name +=

stdout:
declare -x NIX_LDFLAGS_foo=' -Lone/lib64'
stderr: