Results for nix-idioms.test.sh

statusoshosh_.pyosh_.cc
pass 332
ok 111
FAIL 112
total555
caseoshosh_.pyosh_.ccdescription
0pass pass FAIL var ref to array 'preHooks[@]'
details
1pass pass pass Same as above with set -u
2FAIL FAIL FAIL ${!ref} to undefined array
detailsdetailsdetails
3pass pass pass ${!ref} to undefined string var is fatal, INCONSISTENT with array
4ok ok ok export with dynamic var name +=
detailsdetailsdetails
8 passed, 3 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh_.cc0 var ref to array 'preHooks[@]'

[osh_.cc stdout] Expected "show\n[]\n[]\nshow\n['foo', 'bar', 'baz']\n['foo bar', 'baz']\n", got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.
osh2 ${!ref} to undefined array

[osh stdout] Expected '[]\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  preHooks[@]
  ^~~~~~~~
[ var 'hookSlice' at line 6 of [ stdin ] ]:1: fatal: Undefined array 'preHooks'
osh_.py2 ${!ref} to undefined array

[osh_.py stdout] Expected '[]\n', got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  preHooks[@]
  ^~~~~~~~
[ var 'hookSlice' at line 6 of [ stdin ] ]:1: fatal: Undefined array 'preHooks'
osh_.cc2 ${!ref} to undefined array

[osh_.cc stdout] Expected '[]\n', got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  argv.py ${!hookSlice+"${!hookSlice}"}
  ^~~~~~~
[ stdin ]:6: fatal: Undefined array 'preHooks'

dumb_alloc:
	gNumNew = 2235
	gNumDelete = 184
	gMemPos = 76224

	gNumMalloc = 211
	gNumFree = 0
	gMemPos2 = 12080
osh4 export with dynamic var name +=

stdout:
declare -x NIX_LDFLAGS_foo=' -Lone/lib64'
stderr:
osh_.py4 export with dynamic var name +=

stdout:
declare -x NIX_LDFLAGS_foo=' -Lone/lib64'
stderr:
osh_.cc4 export with dynamic var name +=

stdout:
declare -x NIX_LDFLAGS_foo=' -Lone/lib64'
stderr:
dumb_alloc:
	gNumNew = 3201
	gNumDelete = 392
	gMemPos = 106800

	gNumMalloc = 401
	gNumFree = 3
	gMemPos2 = 15264