Results for var-op-strip.test.sh

statusoshosh_.pyosh_.cc
pass 291714
FAIL 01215
total292929
caseoshosh_.pyosh_.ccdescription
0pass pass pass Remove const suffix
1pass pass pass Remove const prefix
2pass FAIL FAIL Remove const suffix is vectorized on user array
detailsdetails
3pass FAIL FAIL Remove const suffix is vectorized on $@ array
detailsdetails
4pass pass pass Remove const suffix from undefined
5pass pass pass Remove shortest glob suffix
6pass pass pass Remove longest glob suffix
7pass pass pass Remove shortest glob prefix
8pass pass pass Remove longest glob prefix
9pass pass pass Strip char class
10pass pass FAIL Strip unicode prefix
details
11pass FAIL FAIL Bug fix: Test that you can remove everything with glob
detailsdetails
12pass FAIL FAIL Test that you can remove everything with const
detailsdetails
13pass FAIL FAIL Prepend using replacement of #
detailsdetails
14pass FAIL FAIL Append using replacement of %
detailsdetails
15pass pass pass strip unquoted and quoted [
16pass pass pass strip unquoted and quoted []
17pass pass pass strip unquoted and quoted ?
18pass pass pass strip unquoted and quoted [a]
19pass FAIL FAIL Nested % and # operators (bug reported by Crestwave)
detailsdetails
20pass FAIL FAIL strip * (bug regression)
detailsdetails
21pass FAIL FAIL strip ?
detailsdetails
22pass FAIL FAIL strip all
detailsdetails
23pass FAIL FAIL strip none
detailsdetails
24pass pass FAIL strip all unicode
details
25pass FAIL FAIL strip none unicode
detailsdetails
26pass pass FAIL Strip Right Brace (#702)
details
27pass pass pass \(\) in pattern (regression)
28pass pass pass extglob in pattern
60 passed, 0 OK, 0 not implemented, 0 BUG, 27 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.py2 Remove const suffix is vectorized on user array

[osh_.py stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])
stderr:
Unhandled SimpleCommand
osh_.cc2 Remove const suffix is vectorized on user array

[osh_.cc stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])
stderr:
Unhandled SimpleCommand
osh_.py3 Remove const suffix is vectorized on $@ array

[osh_.py stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[10 12 12 12])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[10 12 12 12])
stderr:
Unhandled SimpleCommand
osh_.cc3 Remove const suffix is vectorized on $@ array

[osh_.cc stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[10 12 12 12])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[10 12 12 12])
stderr:
Unhandled SimpleCommand
osh_.cc10 Strip unicode prefix

[osh_.cc stdout] Expected '-\n-\n-\n-\n', got '\xce\xbc-\n\xce\xbc-\n-\xce\xbc\n-\xce\xbc\n'

stdout:
μ-
μ-
-μ
-μ
stderr:
osh_.py11 Bug fix: Test that you can remove everything with glob

[osh_.py stdout] Expected "['', '--x-', '-x--', '']\n", got "(cmd_value.Argv argv:[argv.py '' --x- -x-- ''] arg_spids:[5 7 15 23 31])\n"

stdout:
(cmd_value.Argv argv:[argv.py '' --x- -x-- ''] arg_spids:[5 7 15 23 31])
stderr:
Unhandled SimpleCommand
osh_.cc11 Bug fix: Test that you can remove everything with glob

[osh_.cc stdout] Expected "['', '--x-', '-x--', '']\n", got "(cmd_value.Argv argv:[argv.py '' --x- -x-- ''] arg_spids:[5 7 15 23 31])\n"

stdout:
(cmd_value.Argv argv:[argv.py '' --x- -x-- ''] arg_spids:[5 7 15 23 31])
stderr:
Unhandled SimpleCommand
osh_.py12 Test that you can remove everything with const

[osh_.py stdout] Expected "['', '', '', '']\n['abcd', 'abcd', 'abcd', 'abcd']\n", got "(cmd_value.Argv argv:[argv.py '' '' '' ''] arg_spids:[5 7 15 23 31])\n(cmd_value.Argv argv:[argv.py abcd abcd abcd abcd] arg_spids:[39 41 49 57 65])\n"

stdout:
(cmd_value.Argv argv:[argv.py '' '' '' ''] arg_spids:[5 7 15 23 31])
(cmd_value.Argv argv:[argv.py abcd abcd abcd abcd] arg_spids:[39 41 49 57 65])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc12 Test that you can remove everything with const

[osh_.cc stdout] Expected "['', '', '', '']\n['abcd', 'abcd', 'abcd', 'abcd']\n", got '(cmd_value.Argv argv:[argv.py abcd abcd abcd abcd] arg_spids:[5 7 15 23 31])\n(cmd_value.Argv argv:[argv.py abcd abcd abcd abcd] arg_spids:[39 41 49 57 65])\n'

stdout:
(cmd_value.Argv argv:[argv.py abcd abcd abcd abcd] arg_spids:[5 7 15 23 31])
(cmd_value.Argv argv:[argv.py abcd abcd abcd abcd] arg_spids:[39 41 49 57 65])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py13 Prepend using replacement of #

[osh_.py stdout] Expected "['prefix-aa', 'prefix-bb', 'prefix-']\n", got '(cmd_value.Argv argv:[argv.py prefix-aa prefix-bb prefix-] arg_spids:[10 12 12 12])\n'

stdout:
(cmd_value.Argv argv:[argv.py prefix-aa prefix-bb prefix-] arg_spids:[10 12 12 12])
stderr:
Unhandled SimpleCommand
osh_.cc13 Prepend using replacement of #

[osh_.cc stdout] Expected "['prefix-aa', 'prefix-bb', 'prefix-']\n", got '(cmd_value.Argv argv:[argv.py prefix-aa prefix-bb prefix-] arg_spids:[10 12 12 12])\n'

stdout:
(cmd_value.Argv argv:[argv.py prefix-aa prefix-bb prefix-] arg_spids:[10 12 12 12])
stderr:
Unhandled SimpleCommand
osh_.py14 Append using replacement of %

[osh_.py stdout] Expected "['aa-suffix', 'bb-suffix', '-suffix']\n", got '(cmd_value.Argv argv:[argv.py aa-suffix bb-suffix -suffix] arg_spids:[10 12 12 12])\n'

stdout:
(cmd_value.Argv argv:[argv.py aa-suffix bb-suffix -suffix] arg_spids:[10 12 12 12])
stderr:
Unhandled SimpleCommand
osh_.cc14 Append using replacement of %

[osh_.cc stdout] Expected "['aa-suffix', 'bb-suffix', '-suffix']\n", got '(cmd_value.Argv argv:[argv.py aa-suffix bb-suffix -suffix] arg_spids:[10 12 12 12])\n'

stdout:
(cmd_value.Argv argv:[argv.py aa-suffix bb-suffix -suffix] arg_spids:[10 12 12 12])
stderr:
Unhandled SimpleCommand
osh_.py19 Nested % and # operators (bug reported by Crestwave)

[osh_.py stdout] Expected "['']\n['\\n']\n['\\n']\n['']\n['a']\n['a']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[5 7])\n(cmd_value.Argv argv:[argv.py '\\n'] arg_spids:[15 17])\n(cmd_value.Argv argv:[argv.py '\\n'] arg_spids:[26 28])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[47 49])\n(cmd_value.Argv argv:[argv.py a] arg_spids:[57 59])\n(cmd_value.Argv argv:[argv.py a] arg_spids:[68 70])\n"

stdout:
(cmd_value.Argv argv:[argv.py ''] arg_spids:[5 7])
(cmd_value.Argv argv:[argv.py '\n'] arg_spids:[15 17])
(cmd_value.Argv argv:[argv.py '\n'] arg_spids:[26 28])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[47 49])
(cmd_value.Argv argv:[argv.py a] arg_spids:[57 59])
(cmd_value.Argv argv:[argv.py a] arg_spids:[68 70])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc19 Nested % and # operators (bug reported by Crestwave)

[osh_.cc stdout] Expected "['']\n['\\n']\n['\\n']\n['']\n['a']\n['a']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[5 7])\n(cmd_value.Argv argv:[argv.py '\\n'] arg_spids:[15 17])\n(cmd_value.Argv argv:[argv.py '\\n'] arg_spids:[26 28])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[47 49])\n(cmd_value.Argv argv:[argv.py a] arg_spids:[57 59])\n(cmd_value.Argv argv:[argv.py a] arg_spids:[68 70])\n"

stdout:
(cmd_value.Argv argv:[argv.py ''] arg_spids:[5 7])
(cmd_value.Argv argv:[argv.py '\n'] arg_spids:[15 17])
(cmd_value.Argv argv:[argv.py '\n'] arg_spids:[26 28])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[47 49])
(cmd_value.Argv argv:[argv.py a] arg_spids:[57 59])
(cmd_value.Argv argv:[argv.py a] arg_spids:[68 70])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py20 strip * (bug regression)

[osh_.py stdout] Expected "['abc']\n['']\n['abc']\n['']\n", got "(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[13 15])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[23 25])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[33 35])\n"

stdout:
(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[13 15])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[23 25])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[33 35])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc20 strip * (bug regression)

[osh_.cc stdout] Expected "['abc']\n['']\n['abc']\n['']\n", got "(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[13 15])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[23 25])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[33 35])\n"

stdout:
(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[13 15])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[23 25])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[33 35])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py21 strip ?

[osh_.py stdout] Expected "['bc']\n['bc']\n['ab']\n['ab']\n", got '(cmd_value.Argv argv:[argv.py bc] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py bc] arg_spids:[13 15])\n(cmd_value.Argv argv:[argv.py ab] arg_spids:[23 25])\n(cmd_value.Argv argv:[argv.py ab] arg_spids:[33 35])\n'

stdout:
(cmd_value.Argv argv:[argv.py bc] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py bc] arg_spids:[13 15])
(cmd_value.Argv argv:[argv.py ab] arg_spids:[23 25])
(cmd_value.Argv argv:[argv.py ab] arg_spids:[33 35])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc21 strip ?

[osh_.cc stdout] Expected "['bc']\n['bc']\n['ab']\n['ab']\n", got '(cmd_value.Argv argv:[argv.py bc] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py bc] arg_spids:[13 15])\n(cmd_value.Argv argv:[argv.py ab] arg_spids:[23 25])\n(cmd_value.Argv argv:[argv.py ab] arg_spids:[33 35])\n'

stdout:
(cmd_value.Argv argv:[argv.py bc] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py bc] arg_spids:[13 15])
(cmd_value.Argv argv:[argv.py ab] arg_spids:[23 25])
(cmd_value.Argv argv:[argv.py ab] arg_spids:[33 35])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py22 strip all

[osh_.py stdout] Expected "['']\n['']\n['']\n['']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[13 15])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[23 25])\n(cmd_value.Argv argv:[argv.py ''] arg_spids:[33 35])\n"

stdout:
(cmd_value.Argv argv:[argv.py ''] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[13 15])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[23 25])
(cmd_value.Argv argv:[argv.py ''] arg_spids:[33 35])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc22 strip all

[osh_.cc stdout] Expected "['']\n['']\n['']\n['']\n", got '(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[13 15])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[23 25])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[33 35])\n'

stdout:
(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[13 15])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[23 25])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[33 35])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py23 strip none

[osh_.py stdout] Expected "['abc']\n['abc']\n['abc']\n['abc']\n", got '(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[12 14])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[21 23])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[30 32])\n'

stdout:
(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[12 14])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[21 23])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[30 32])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc23 strip none

[osh_.cc stdout] Expected "['abc']\n['abc']\n['abc']\n['abc']\n", got '(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[12 14])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[21 23])\n(cmd_value.Argv argv:[argv.py abc] arg_spids:[30 32])\n'

stdout:
(cmd_value.Argv argv:[argv.py abc] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[12 14])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[21 23])
(cmd_value.Argv argv:[argv.py abc] arg_spids:[30 32])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc24 strip all unicode

[osh_.cc stdout] Expected '\n\n\n\n', got '\xce\xbcabc\xce\xbc\n\xce\xbcabc\xce\xbc\n\xce\xbcabc\xce\xbc\n\xce\xbcabc\xce\xbc\n'

stdout:
μabcμ
μabcμ
μabcμ
μabcμ
stderr:
osh_.py25 strip none unicode

[osh_.py stdout] Expected "['\\xce\\xbcabc\\xce\\xbc']\n['\\xce\\xbcabc\\xce\\xbc']\n['\\xce\\xbcabc\\xce\\xbc']\n['\\xce\\xbcabc\\xce\\xbc']\n", got "(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[12 14])\n(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[21 23])\n(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[30 32])\n"

stdout:
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[12 14])
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[21 23])
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[30 32])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc25 strip none unicode

[osh_.cc stdout] Expected "['\\xce\\xbcabc\\xce\\xbc']\n['\\xce\\xbcabc\\xce\\xbc']\n['\\xce\\xbcabc\\xce\\xbc']\n['\\xce\\xbcabc\\xce\\xbc']\n", got "(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[3 5])\n(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[12 14])\n(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[21 23])\n(cmd_value.Argv argv:[argv.py '\xce\xbcabc\xce\xbc'] arg_spids:[30 32])\n"

stdout:
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[3 5])
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[12 14])
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[21 23])
(cmd_value.Argv argv:[argv.py 'μabcμ'] arg_spids:[30 32])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc26 Strip Right Brace (#702)

[osh_.cc stdout] Expected '1 $foo\n2 \n10 }}\n11 \n12 \n13 \n', got '1 $foo\n2 $foo\n10 }}\n11 }\n12 }\n13 }\n'

stdout:
1 $foo
2 $foo
10 }}
11 }
12 }
13 }
stderr: