Results for var-op-strip.test.sh

statusdashbashmkshzshashosh
pass 162416201923
ok 202100
N-I 505040
BUG 101310
FAIL 000001
total242424242424
casedashbashmkshzshashoshdescription
0pass pass pass pass pass pass Remove const suffix
1pass pass pass pass pass pass Remove const prefix
2N-I pass N-I pass N-I pass Remove const suffix is vectorized on user array
detailsdetailsdetails
3N-I pass N-I pass N-I pass Remove const suffix is vectorized on $@ array
detailsdetailsdetails
4pass pass pass pass pass pass Remove const suffix from undefined
5pass pass pass pass pass pass Remove shortest glob suffix
6pass pass pass pass pass pass Remove longest glob suffix
7pass pass pass pass pass pass Remove shortest glob prefix
8pass pass pass pass pass pass Remove longest glob prefix
9pass pass N-I pass pass pass Strip char class
details
10BUG pass BUG BUG BUG FAIL Strip unicode prefix
detailsdetailsdetailsdetailsdetails
11pass pass pass pass pass pass Bug fix: Test that you can remove everything with glob
12pass pass pass pass pass pass Test that you can remove everything with const
13N-I pass N-I pass N-I pass Prepend using replacement of #
detailsdetailsdetails
14N-I pass N-I pass N-I pass Append using replacement of %
detailsdetailsdetails
15ok pass ok BUG pass pass strip unquoted and quoted [
detailsdetailsdetails
16ok pass ok ok pass pass strip unquoted and quoted []
detailsdetailsdetails
17pass pass pass pass pass pass strip unquoted and quoted ?
18pass pass pass pass pass pass strip unquoted and quoted [a]
19N-I pass pass pass pass pass Nested % and # operators (bug reported by Crestwave)
details
20pass pass pass BUG pass pass strip * (bug regression)
details
21pass pass pass pass pass pass strip ?
22pass pass pass pass pass pass strip all
23pass pass pass pass pass pass strip none
118 passed, 5 OK, 14 not implemented, 6 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

dash2 Remove const suffix is vectorized on user array

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected
mksh2 Remove const suffix is vectorized on user array

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${a[@]%a}: bad substitution
ash2 Remove const suffix is vectorized on user array

stdout:
stderr: 
_tmp/spec-bin/ash: syntax error: unexpected "("
dash3 Remove const suffix is vectorized on $@ array

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

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${@%a}: bad substitution
ash3 Remove const suffix is vectorized on $@ array

stdout:
['1a', '2a', '3']
stderr:
mksh9 Strip char class

stdout:
abc
stderr:
dash10 Strip unicode prefix

stdout:
'\xbc-\n'
stderr:
mksh10 Strip unicode prefix

stdout:
'\xbc-\n'
stderr:
zsh10 Strip unicode prefix

stdout:
stderr: 
ash10 Strip unicode prefix

stdout:
'\xbc-\n'
stderr:
osh10 Strip unicode prefix

[osh stdout] Expected '-\n', got '\xbc-\n'

stdout:
'\xbc-\n'
stderr:
dash13 Prepend using replacement of #

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected
mksh13 Prepend using replacement of #

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/#/prefix-}: bad substitution
ash13 Prepend using replacement of #

stdout:
stderr: 
_tmp/spec-bin/ash: syntax error: unexpected "("
dash14 Append using replacement of %

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected
mksh14 Append using replacement of %

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/%/-suffix}: bad substitution
ash14 Append using replacement of %

stdout:
stderr: 
_tmp/spec-bin/ash: syntax error: unexpected "("
dash15 strip unquoted and quoted [

stdout:
[foo]
foo]
[foo]
foo]
stderr:
mksh15 strip unquoted and quoted [

stdout:
[foo]
foo]
[foo]
foo]
stderr:
zsh15 strip unquoted and quoted [

stdout:
stderr: 
zsh: bad pattern: [
dash16 strip unquoted and quoted []

stdout:
[]foo[]
foo[]
[]foo[]
foo[]
stderr:
mksh16 strip unquoted and quoted []

stdout:
[]foo[]
foo[]
[]foo[]
foo[]
stderr:
zsh16 strip unquoted and quoted []

stdout:
[]foo[]
foo[]
[]foo[]
foo[]
stderr:
dash19 Nested % and # operators (bug reported by Crestwave)

stdout:
['\\n']
['$\\n']
['$']
['']
['a']
['a']
stderr:
zsh20 strip * (bug regression)

stdout:
['abc']
['']
['ab']
['']
stderr: