Results for ble-features.test.sh

statusoshosh_.pyosh_.cc
pass 522
ok 886
FAIL 035
total131313
caseoshosh_.pyosh_.ccdescription
0ok ok ok [bash_unset] local-unset / dynamic-unset for localvar
detailsdetailsdetails
1ok ok ok [bash_unset] local-unset / dynamic-unset for localvar (mutated from tempenv)
detailsdetailsdetails
2pass pass pass [bash_unset] local-unset / dynamic-unset for tempenv
3ok ok FAIL [bash_unset] function call with tempenv vs tempenv-eval
detailsdetailsdetails
4ok ok FAIL [bash_unset] localvar-inherit from tempenv
detailsdetailsdetails
5pass pass pass [bash_unset] nested context by tempenv-eval
6ok ok ok [bash_unset] local-unset / dynamic-unset for localvar on nested-context
detailsdetailsdetails
7ok ok ok [bash_unset] dynamic-unset for nested localvars
detailsdetailsdetails
8ok ok ok [bash_unset] dynamic-unset for nested tempenvs
detailsdetailsdetails
9ok ok ok [bash_unset] local-unset for nested tempenvs
detailsdetailsdetails
10pass FAIL FAIL [compat_array] ${arr} is ${arr[0]}
detailsdetails
11pass FAIL FAIL [compat_array] scalar write to arrays
detailsdetails
12pass FAIL FAIL [compat_array] scalar write to associative arrays
detailsdetails
9 passed, 22 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh0 [bash_unset] local-unset / dynamic-unset for localvar

stdout:
[global,local,(unset)] v: global
[global,local,(unlocal)] v: global
stderr:
osh_.py0 [bash_unset] local-unset / dynamic-unset for localvar

stdout:
[global,local,(unset)] v: global
[global,local,(unlocal)] v: global
stderr:
osh_.cc0 [bash_unset] local-unset / dynamic-unset for localvar

stdout:
[global,local,(unset)] v: global
[global,local,(unlocal)] v: global
stderr:
dumb_alloc:
	gNumNew = 2814
	gNumDelete = 313
	gMemPos = 91904

	gNumMalloc = 295
	gNumFree = 0
	gMemPos2 = 13280
osh1 [bash_unset] local-unset / dynamic-unset for localvar (mutated from tempenv)

stdout:
[global,tempenv,local,(unset)] v: tempenv
[global,tempenv,local,(unlocal)] v: tempenv
stderr:
osh_.py1 [bash_unset] local-unset / dynamic-unset for localvar (mutated from tempenv)

stdout:
[global,tempenv,local,(unset)] v: tempenv
[global,tempenv,local,(unlocal)] v: tempenv
stderr:
osh_.cc1 [bash_unset] local-unset / dynamic-unset for localvar (mutated from tempenv)

stdout:
[global,tempenv,local,(unset)] v: tempenv
[global,tempenv,local,(unlocal)] v: tempenv
stderr:
dumb_alloc:
	gNumNew = 2831
	gNumDelete = 316
	gMemPos = 92096

	gNumMalloc = 286
	gNumFree = 0
	gMemPos2 = 13152
osh3 [bash_unset] function call with tempenv vs tempenv-eval

stdout:
[global] v: global
[global,local] v: (unset)
[global,local+unset] v: global
[global,local+unlocal] v: global
[global,tempenv] v: tempenv
[global,tempenv,local] v: (unset)
[global,tempenv,local+unset] v: tempenv
[global,tempenv,local+unlocal] v: tempenv
[global,tempenv,(eval)] v: tempenv
[global,tempenv,(eval),local] v: (unset)
[global,tempenv,(eval),local+unset] v: tempenv
[global,tempenv,(eval),local+unlocal] v: tempenv
stderr:
osh_.py3 [bash_unset] function call with tempenv vs tempenv-eval

stdout:
[global] v: global
[global,local] v: (unset)
[global,local+unset] v: global
[global,local+unlocal] v: global
[global,tempenv] v: tempenv
[global,tempenv,local] v: (unset)
[global,tempenv,local+unset] v: tempenv
[global,tempenv,local+unlocal] v: tempenv
[global,tempenv,(eval)] v: tempenv
[global,tempenv,(eval),local] v: (unset)
[global,tempenv,(eval),local+unset] v: tempenv
[global,tempenv,(eval),local+unlocal] v: tempenv
stderr:
osh_.cc3 [bash_unset] function call with tempenv vs tempenv-eval

[osh_.cc stdout] Expected '[global] v: global\n[global,local] v: (unset)\n[global,local+unset] v: global\n[global,local+unlocal] v: global\n[global,tempenv] v: tempenv\n[global,tempenv,local] v: (unset)\n[global,tempenv,local+unset] v: tempenv\n[global,tempenv,local+unlocal] v: tempenv\n[global,tempenv,(eval)] v: tempenv\n[global,tempenv,(eval),local] v: (unset)\n[global,tempenv,(eval),local+unset] v: tempenv\n[global,tempenv,(eval),local+unlocal] v: tempenv\n', got '[global] v: global\n[global,local] v: (unset)\n[global,local+unset] v: global\n[global] v: global\n[global,local] v: (unset)\n[global,local+unlocal] v: global\n[global] v: global\n[global,local] v: (unset)\n[global,tempenv] v: tempenv\n[global,tempenv,local] v: (unset)\n[global,tempenv,local+unset] v: tempenv\n[global] v: global\n[global,local] v: (unset)\n[global,tempenv] v: tempenv\n[global,tempenv,local] v: (unset)\n[global,tempenv,local+unlocal] v: tempenv\n[global] v: global\n[global,local] v: (unset)\n[global,tempenv] v: tempenv\n[global,tempenv,local] v: (unset)\n[global,tempenv,(eval)] v: tempenv\n[global,tempenv,(eval),local] v: (unset)\n[global,tempenv,(eval),local+unset] v: tempenv\n[global] v: global\n[global,local] v: (unset)\n[global,tempenv] v: tempenv\n[global,tempenv,local] v: (unset)\n[global,tempenv,(eval)] v: tempenv\n[global,tempenv,(eval),local] v: (unset)\n[global,tempenv,(eval),local+unlocal] v: tempenv\n[global] v: global\n[global,local] v: (unset)\n[global,tempenv] v: tempenv\n[global,tempenv,local] v: (unset)\n[global,tempenv,(eval)] v: tempenv\n[global,tempenv,(eval),local] v: (unset)\n'

stdout:
[global] v: global
[global,local] v: (unset)
[global,local+unset] v: global
[global] v: global
[global,local] v: (unset)
[global,local+unlocal] v: global
[global] v: global
[global,local] v: (unset)
[global,tempenv] v: tempenv
[global,tempenv,local] v: (unset)
[global,tempenv,local+unset] v: tempenv
[global] v: global
[global,local] v: (unset)
[global,tempenv] v: tempenv
[global,tempenv,local] v: (unset)
[global,tempenv,local+unlocal] v: tempenv
[global] v: global
[global,local] v: (unset)
[global,tempenv] v: tempenv
[global,tempenv,local] v: (unset)
[global,tempenv,(eval)] v: tempenv
[global,tempenv,(eval),local] v: (unset)
[global,tempenv,(eval),local+unset] v: tempenv
[global] v: global
[global,local] v: (unset)
[global,tempenv] v: tempenv
[global,tempenv,local] v: (unset)
[global,tempenv,(eval)] v: tempenv
[global,tempenv,(eval),local] v: (unset)
[global,tempenv,(eval),local+unlocal] v: tempenv
[global] v: global
[global,local] v: (unset)
[global,tempenv] v: tempenv
[global,tempenv,local] v: (unset)
[global,tempenv,(eval)] v: tempenv
[global,tempenv,(eval),local] v: (unset)
stderr:
dumb_alloc:
	gNumNew = 3138
	gNumDelete = 390
	gMemPos = 102048

	gNumMalloc = 319
	gNumFree = 0
	gMemPos2 = 13952
osh4 [bash_unset] localvar-inherit from tempenv

stdout:
[global,(local)] v: (unset)
[global,tempenv,(local)] v: (unset)
[xglobal,(local)] v: (unset)
[global,(func),(local)] v: (unset)
[global,tempenv,(func),(local)] v: (unset)
[xglobal,(func),(local)] v: (unset)
[global,local,(func),(local)] v: (unset)
stderr:
osh_.py4 [bash_unset] localvar-inherit from tempenv

stdout:
[global,(local)] v: (unset)
[global,tempenv,(local)] v: (unset)
[xglobal,(local)] v: (unset)
[global,(func),(local)] v: (unset)
[global,tempenv,(func),(local)] v: (unset)
[xglobal,(func),(local)] v: (unset)
[global,local,(func),(local)] v: (unset)
stderr:
osh_.cc4 [bash_unset] localvar-inherit from tempenv

[osh_.cc stdout] Expected '[global,(local)] v: (unset)\n[global,tempenv,(local)] v: (unset)\n[xglobal,(local)] v: (unset)\n[global,(func),(local)] v: (unset)\n[global,tempenv,(func),(local)] v: (unset)\n[xglobal,(func),(local)] v: (unset)\n[global,local,(func),(local)] v: (unset)\n', got '[global,(local)] v: (unset)\n[global,tempenv,(local)] v: (unset)\n[xglobal,(local)] v: (unset)\n[global,(local)] v: (unset)\n[global,tempenv,(local)] v: (unset)\n[global,(func),(local)] v: (unset)\n[global,tempenv,(func),(local)] v: (unset)\n[xglobal,(func),(local)] v: (unset)\n[global,(local)] v: (unset)\n[global,tempenv,(local)] v: (unset)\n[global,(func),(local)] v: (unset)\n[global,tempenv,(func),(local)] v: (unset)\n[global,local,(func),(local)] v: (unset)\n'

stdout:
[global,(local)] v: (unset)
[global,tempenv,(local)] v: (unset)
[xglobal,(local)] v: (unset)
[global,(local)] v: (unset)
[global,tempenv,(local)] v: (unset)
[global,(func),(local)] v: (unset)
[global,tempenv,(func),(local)] v: (unset)
[xglobal,(func),(local)] v: (unset)
[global,(local)] v: (unset)
[global,tempenv,(local)] v: (unset)
[global,(func),(local)] v: (unset)
[global,tempenv,(func),(local)] v: (unset)
[global,local,(func),(local)] v: (unset)
stderr:
dumb_alloc:
	gNumNew = 3518
	gNumDelete = 455
	gMemPos = 113712

	gNumMalloc = 346
	gNumFree = 0
	gMemPos2 = 14272
osh6 [bash_unset] local-unset / dynamic-unset for localvar on nested-context

stdout:
[global,tempenv1,local1,tempenv2,(eval),local2,(unset)] v: local1
[global,tempenv1,local1,tempenv2,(eval),local2,(unlocal)] v: local1
stderr:
osh_.py6 [bash_unset] local-unset / dynamic-unset for localvar on nested-context

stdout:
[global,tempenv1,local1,tempenv2,(eval),local2,(unset)] v: local1
[global,tempenv1,local1,tempenv2,(eval),local2,(unlocal)] v: local1
stderr:
osh_.cc6 [bash_unset] local-unset / dynamic-unset for localvar on nested-context

stdout:
[global,tempenv1,local1,tempenv2,(eval),local2,(unset)] v: local1
[global,tempenv1,local1,tempenv2,(eval),local2,(unlocal)] v: local1
stderr:
dumb_alloc:
	gNumNew = 2453
	gNumDelete = 272
	gMemPos = 82144

	gNumMalloc = 203
	gNumFree = 0
	gMemPos2 = 12608
osh7 [bash_unset] dynamic-unset for nested localvars

stdout:
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local3
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local2 (unlocal 1)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local1 (unlocal 2)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: tempenv1 (unlocal 3)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: global (unlocal 4)
stderr:
osh_.py7 [bash_unset] dynamic-unset for nested localvars

stdout:
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local3
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local2 (unlocal 1)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local1 (unlocal 2)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: tempenv1 (unlocal 3)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: global (unlocal 4)
stderr:
osh_.cc7 [bash_unset] dynamic-unset for nested localvars

stdout:
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local3
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local2 (unlocal 1)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: local1 (unlocal 2)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: tempenv1 (unlocal 3)
[global,tempenv1/local1,tempenv2/local2,tempenv3/local3] v: global (unlocal 4)
stderr:
dumb_alloc:
	gNumNew = 4105
	gNumDelete = 539
	gMemPos = 134576

	gNumMalloc = 770
	gNumFree = 0
	gMemPos2 = 25984
osh8 [bash_unset] dynamic-unset for nested tempenvs

stdout:
[global,tempenv1,tempenv2,tempenv3] v: tempenv3
[global,tempenv1,tempenv2,tempenv3] v: tempenv2 (unlocal 1)
[global,tempenv1,tempenv2,tempenv3] v: tempenv1 (unlocal 2)
[global,tempenv1,tempenv2,tempenv3] v: global (unlocal 3)
[global,tempenv1,tempenv2,tempenv3] v: (unset) (unlocal 4)
stderr:
osh_.py8 [bash_unset] dynamic-unset for nested tempenvs

stdout:
[global,tempenv1,tempenv2,tempenv3] v: tempenv3
[global,tempenv1,tempenv2,tempenv3] v: tempenv2 (unlocal 1)
[global,tempenv1,tempenv2,tempenv3] v: tempenv1 (unlocal 2)
[global,tempenv1,tempenv2,tempenv3] v: global (unlocal 3)
[global,tempenv1,tempenv2,tempenv3] v: (unset) (unlocal 4)
stderr:
osh_.cc8 [bash_unset] dynamic-unset for nested tempenvs

stdout:
[global,tempenv1,tempenv2,tempenv3] v: tempenv3
[global,tempenv1,tempenv2,tempenv3] v: tempenv2 (unlocal 1)
[global,tempenv1,tempenv2,tempenv3] v: tempenv1 (unlocal 2)
[global,tempenv1,tempenv2,tempenv3] v: global (unlocal 3)
[global,tempenv1,tempenv2,tempenv3] v: (unset) (unlocal 4)
stderr:
dumb_alloc:
	gNumNew = 3815
	gNumDelete = 479
	gMemPos = 125216

	gNumMalloc = 767
	gNumFree = 0
	gMemPos2 = 24560
osh9 [bash_unset] local-unset for nested tempenvs

stdout:
[global,tempenv1,tempenv2,tempenv3] v: tempenv3
[global,tempenv1,tempenv2,tempenv3] v: tempenv2 (unset 1)
[global,tempenv1,tempenv2,tempenv3] v: tempenv1 (unset 2)
[global,tempenv1,tempenv2,tempenv3] v: global (unset 3)
[global,tempenv1,tempenv2,tempenv3] v: (unset) (unset 4)
stderr:
osh_.py9 [bash_unset] local-unset for nested tempenvs

stdout:
[global,tempenv1,tempenv2,tempenv3] v: tempenv3
[global,tempenv1,tempenv2,tempenv3] v: tempenv2 (unset 1)
[global,tempenv1,tempenv2,tempenv3] v: tempenv1 (unset 2)
[global,tempenv1,tempenv2,tempenv3] v: global (unset 3)
[global,tempenv1,tempenv2,tempenv3] v: (unset) (unset 4)
stderr:
osh_.cc9 [bash_unset] local-unset for nested tempenvs

stdout:
[global,tempenv1,tempenv2,tempenv3] v: tempenv3
[global,tempenv1,tempenv2,tempenv3] v: tempenv2 (unset 1)
[global,tempenv1,tempenv2,tempenv3] v: tempenv1 (unset 2)
[global,tempenv1,tempenv2,tempenv3] v: global (unset 3)
[global,tempenv1,tempenv2,tempenv3] v: (unset) (unset 4)
stderr:
dumb_alloc:
	gNumNew = 3366
	gNumDelete = 419
	gMemPos = 113040

	gNumMalloc = 590
	gNumFree = 0
	gMemPos2 = 21312
osh_.py10 [compat_array] ${arr} is ${arr[0]}

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

stdout:
stderr: 
  argv.py "$arr" "${arr}"
           ^~~~
[ stdin ]:5: fatal: Array 'arr' can't be referred to as a scalar (without @ or *)
osh_.cc10 [compat_array] ${arr} is ${arr[0]}

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

stdout:
stderr: 
  argv.py "$arr" "${arr}"
  ^~~~~~~
[ stdin ]:5: fatal: Array 'arr' can't be referred to as a scalar (without @ or *)

dumb_alloc:
	gNumNew = 2248
	gNumDelete = 197
	gMemPos = 75392

	gNumMalloc = 246
	gNumFree = 0
	gMemPos2 = 13088
osh_.py11 [compat_array] scalar write to arrays

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

stdout:
stderr: 
  : $(( a++ ))
        ^
[ stdin ]:7: fatal: Expected a value convertible to integer, got value.MaybeStrArray
osh_.cc11 [compat_array] scalar write to arrays

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

stdout:
stderr: 
  : $(( a++ ))
  ^
[ stdin ]:7: fatal: Expected a value convertible to integer, got value.MaybeStrArray

dumb_alloc:
	gNumNew = 2017
	gNumDelete = 167
	gMemPos = 68992

	gNumMalloc = 126
	gNumFree = 0
	gMemPos2 = 10672
osh_.py12 [compat_array] scalar write to associative arrays

[osh_.py stdout] Expected "['2', 'hello', 'world']\n", got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  ((d++))
    ^
[ stdin ]:10: fatal: Expected a value convertible to integer, got value.AssocArray
osh_.cc12 [compat_array] scalar write to associative arrays

[osh_.cc stdout] Expected "['2', 'hello', 'world']\n", got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  ((d++))
  ^~
[ stdin ]:10: fatal: Expected a value convertible to integer, got value.AssocArray

dumb_alloc:
	gNumNew = 2185
	gNumDelete = 206
	gMemPos = 74272

	gNumMalloc = 141
	gNumFree = 0
	gMemPos2 = 10912