Results for var-op-strip.test.sh

casedashbashmkshzshoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass FAIL Remove const suffix
details
1pass pass pass pass pass pass FAIL Remove const prefix
details
2N-I pass N-I pass pass pass FAIL Remove const suffix is vectorized on user array
detailsdetailsdetails
3N-I pass N-I pass pass pass FAIL Remove const suffix is vectorized on $@ array
detailsdetailsdetails
4pass pass pass pass pass pass FAIL Remove const suffix from undefined
details
5pass pass pass pass pass pass FAIL Remove shortest glob suffix
details
6pass pass pass pass pass pass FAIL Remove longest glob suffix
details
7pass pass pass pass pass pass FAIL Remove shortest glob prefix
details
8pass pass pass pass pass pass FAIL Remove longest glob prefix
details
9pass pass N-I pass pass pass FAIL Strip char class
detailsdetails
10BUG pass BUG BUG FAIL FAIL FAIL Strip unicode prefix
detailsdetailsdetailsdetailsdetailsdetails
11pass pass pass pass pass pass FAIL Bug fix: Test that you can remove everything with glob
details
12pass pass pass pass pass pass FAIL Test that you can remove everything with const
details
13N-I pass N-I pass pass pass FAIL Prepend using replacement of #
detailsdetailsdetails
14N-I pass N-I pass pass pass FAIL Append using replacement of %
detailsdetailsdetails

76 passed, 0 ok, 9 known unimplemented, 3 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 Remove const suffix

[osh-byterun stdout] Expected 'abc ab\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun1 Remove const prefix

[osh-byterun stdout] Expected 'bcd cd\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash2 Remove const suffix is vectorized on user array

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

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${a[@]%a}: bad substitution
osh-byterun2 Remove const suffix is vectorized on user array

[osh-byterun stdout] Expected "['1', '2', '3']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash3 Remove const suffix is vectorized on $@ array

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

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

[osh-byterun stdout] Expected "['1', '2', '3']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun4 Remove const suffix from undefined

[osh-byterun stdout] Expected '\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun5 Remove shortest glob suffix

[osh-byterun stdout] Expected 'aabbc\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun6 Remove longest glob suffix

[osh-byterun stdout] Expected 'aabb\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun7 Remove shortest glob prefix

[osh-byterun stdout] Expected 'bccdd\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun8 Remove longest glob prefix

[osh-byterun stdout] Expected 'ccdd\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
mksh9 Strip char class

stdout:
abc
stderr:
osh-byterun9 Strip char class

[osh-byterun stdout] Expected 'ab\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash10 Strip unicode prefix

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

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

stdout:
stderr: 
osh10 Strip unicode prefix

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

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

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

stdout:
'\xbc-\n'
stderr:
osh-byterun10 Strip unicode prefix

[osh-byterun stdout] Expected '-\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun11 Bug fix: Test that you can remove everything with glob

[osh-byterun stdout] Expected "['', '--x-', '-x--', '']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun12 Test that you can remove everything with const

[osh-byterun stdout] Expected "['', '', '', '']\n['abcd', 'abcd', 'abcd', 'abcd']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash13 Prepend using replacement of #

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

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/#/prefix-}: bad substitution
osh-byterun13 Prepend using replacement of #

[osh-byterun stdout] Expected "['prefix-aa', 'prefix-bb', 'prefix-']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash14 Append using replacement of %

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

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/%/-suffix}: bad substitution
osh-byterun14 Append using replacement of %

[osh-byterun stdout] Expected "['aa-suffix', 'bb-suffix', '-suffix']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend