Results for var-op-strip.test.sh

casedashbashmkshoshdescription
0pass pass pass pass Remove const suffix
1pass pass pass pass Remove const prefix
2N-I pass N-I pass Remove const suffix is vectorized on user array
detailsdetails
3N-I pass N-I pass Remove const suffix is vectorized on $@ array
detailsdetails
4pass pass pass pass Remove const suffix from undefined
5pass pass pass FAIL Remove smallest glob suffix
details
6pass pass pass FAIL Remove longest glob suffix
details
7pass pass pass FAIL Remove smallest glob prefix
details
8pass pass pass FAIL Remove longest glob prefix
details

28 passed, 0 ok, 4 known unimplemented, 0 known bugs, 4 failed, 0 skipped

Details on runs that didn't PASS

dash2 Remove const suffix is vectorized on user array

stdout:
stderr: 
/bin/dash: 1: Syntax error: "(" unexpected
mksh2 Remove const suffix is vectorized on user array

stdout:
stderr: 
/bin/mksh: <stdin>[2]: ${a[@]%a}: bad substitution
dash3 Remove const suffix is vectorized on $@ array

stdout:
['1a', '2a', '3']
stderr:
mksh3 Remove const suffix is vectorized on $@ array

stdout:
stderr: 
/bin/mksh: <stdin>[2]: ${@%a}: bad substitution
osh5 Remove smallest glob suffix

[osh stdout] Expected 'aabbc\n', got 'aabbccdd\n'

stdout:
aabbccdd
stderr:
osh6 Remove longest glob suffix

[osh stdout] Expected 'aabb\n', got 'aabbccdd\n'

stdout:
aabbccdd
stderr:
osh7 Remove smallest glob prefix

[osh stdout] Expected 'bccdd\n', got 'aabbccdd\n'

stdout:
aabbccdd
stderr:
osh8 Remove longest glob prefix

[osh stdout] Expected 'ccdd\n', got 'aabbccdd\n'

stdout:
aabbccdd
stderr: