Results for var-op-test.test.sh

casedashbashmkshoshdescription
0N-I pass pass pass Lazy Evaluation of Alternative
details
1pass pass pass pass Default value when empty
2pass pass pass pass Default value when unset
3pass pass pass FAIL Unquoted with array as default value
details
4pass BUG pass FAIL Quoted with array as default value
detailsdetails
5pass pass pass pass Assign default value when empty
6pass pass pass pass Assign default value when unset
7pass pass pass FAIL Assign default with array
details
8pass pass pass pass Alternative value when empty
9pass pass pass pass Alternative value when unset
10ok pass pass FAIL Error when empty
detailsdetails
11ok pass pass FAIL Error when unset
detailsdetails
12pass pass pass pass Error when unset

43 passed, 2 ok, 1 known unimplemented, 1 known bugs, 5 failed, 0 skipped

Details on runs that didn't PASS

dash0 Lazy Evaluation of Alternative

stdout:
x
0
stderr:
/bin/dash: 5: arithmetic expression: expecting primary: "i++"
osh3 Unquoted with array as default value

[osh stdout] Expected "['Xx1', '2', '3', '4xX']\n", got "['Xx1 2', '3 4xX']\n"

stdout:
['Xx1 2', '3 4xX']
stderr:
bash4 Quoted with array as default value

stdout:
['Xx1', '2', '3', '4xX']
stderr:
osh4 Quoted with array as default value

[osh stdout] Expected "['Xx1 2 3 4xX']\n", got "['Xx1 2', '3 4xX']\n"

stdout:
['Xx1 2', '3 4xX']
stderr:
osh7 Assign default with array

[osh stdout] Expected u"['Xx1', '2', '3', '4xX']\n['x1 2 3 4x']\n", got "['Xx1 2', '3 4xX']\n['x1 2 3 4x']\n"

stdout:
['Xx1 2', '3 4xX']
['x1 2 3 4x']
stderr:
dash10 Error when empty

stdout:
stderr: 
/bin/dash: 2: empty: is empty
osh10 Error when empty

[osh status] Expected 1, got 33

stdout:
stderr: 
dash11 Error when unset

stdout:
stderr: 
/bin/dash: 1: unset: is empty
osh11 Error when unset

[osh status] Expected 1, got 33

stdout:
stderr: