Results for func-parsing.test.sh

statusoshosh_.pyosh_.cc
pass 141414
ok 111
total151515
caseoshosh_.pyosh_.ccdescription
0pass pass pass Incomplete Function
1pass pass pass Incomplete Function 2
2pass pass pass Bad function
3ok ok ok Unbraced function body.
detailsdetailsdetails
4pass pass pass Function with spaces, to see if ( and ) are separate tokens.
5pass pass pass subshell function
6pass pass pass Hard case, function with } token in it
7pass pass pass . in function name
8pass pass pass = in function name
9pass pass pass Function name with $
10pass pass pass Function name with command sub
11pass pass pass Function name with !
12pass pass pass Function name with -
13pass pass pass Break after ) is OK.
14pass pass pass Nested definition
42 passed, 3 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh3 Unbraced function body.

stdout:
stderr: 
  one_line() ls; one_line;
             ^~
[ stdin ]:1: Unexpected word while parsing compound command
osh_.py3 Unbraced function body.

stdout:
stderr: 
  one_line() ls; one_line;
             ^~
[ stdin ]:1: Unexpected word while parsing compound command
osh_.cc3 Unbraced function body.

stdout:
stderr: 
  one_line() ls; one_line;
             ^~
[ stdin ]:1: Unexpected word while parsing compound command

dumb_alloc:
	gNumNew = 1632
	gNumDelete = 96
	gMemPos = 58016

	gNumMalloc = 37
	gNumFree = 0
	gMemPos2 = 9168