Results for var-op-patsub.test.sh

casebashmkshzshoshosh_ALTosh-byterundescription
0pass pass pass pass pass FAIL Pattern replacement
details
1pass BUG pass pass pass FAIL Pattern replacement on unset variable
detailsdetails
2pass pass pass pass pass FAIL Global Pattern replacement with /
details
3pass pass pass pass pass FAIL Left Anchored Pattern replacement with #
details
4pass pass pass pass pass FAIL Right Anchored Pattern replacement with %
details
5pass pass pass pass pass FAIL Replace fixed strings
details
6pass pass pass pass pass FAIL Replace is longest match
details
7pass N-I pass pass pass FAIL Replace char class
detailsdetails
8pass pass pass pass pass FAIL Replace hard glob
details
9BUG BUG BUG pass pass FAIL Pattern replacement ${v/} is not valid
detailsdetailsdetailsdetails
10BUG BUG BUG pass pass FAIL Pattern replacement ${v//} is not valid
detailsdetailsdetailsdetails
11pass pass pass pass pass FAIL ${v/a} is the same as ${v/a/} -- no replacement string
details
12pass pass pass pass pass FAIL Replacement with special chars (bug fix)
details
13pass BUG BUG pass pass FAIL Replace backslash
detailsdetailsdetails
14pass pass pass pass pass FAIL Replace right ]
details
15pass pass BUG pass pass FAIL Substitute glob characters in pattern, quoted and unquoted
detailsdetails

69 passed, 0 ok, 1 known unimplemented, 10 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 Pattern replacement

[osh-byterun stdout] Expected 'abXX\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
mksh1 Pattern replacement on unset variable

stdout:
--
status=0
--
stderr:
osh-byterun1 Pattern replacement on unset variable

[osh-byterun stdout] Expected '--\nstatus=0\n', got ''

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-byterun2 Global Pattern replacement with /

[osh-byterun stdout] Expected 'yy_xx_xx yy_yy_xx\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-byterun3 Left Anchored Pattern replacement with #

[osh-byterun stdout] Expected 'xx_yy_xx xx_xx_xx\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 Right Anchored Pattern replacement with %

[osh-byterun stdout] Expected 'xx_yy_xx xx_xx_yy\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 Replace fixed strings

[osh-byterun stdout] Expected 'yy_xx yy_yy yy_xx xx_yy\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 Replace is longest match

[osh-byterun stdout] Expected 'begin [] end\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
mksh7 Replace char class

stdout:
xx_xx_xx xx_xx_xx
stderr:
osh-byterun7 Replace char class

[osh-byterun stdout] Expected 'yy_yy_yy xx-xx-xx\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 Replace hard glob

[osh-byterun stdout] Expected 'aa__cc\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
bash9 Pattern replacement ${v/} is not valid

stdout:
-abcde-
status=0
stderr:
mksh9 Pattern replacement ${v/} is not valid

stdout:
-abcde-
status=0
stderr:
zsh9 Pattern replacement ${v/} is not valid

stdout:
-abcde-
status=0
stderr:
osh-byterun9 Pattern replacement ${v/} is not valid

[osh-byterun status] Expected 2, 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
bash10 Pattern replacement ${v//} is not valid

stdout:
-a/b/c-
status=0
stderr:
mksh10 Pattern replacement ${v//} is not valid

stdout:
-a/b/c-
status=0
stderr:
zsh10 Pattern replacement ${v//} is not valid

stdout:
-a/b/c-
status=0
stderr:
osh-byterun10 Pattern replacement ${v//} is not valid

[osh-byterun status] Expected 2, 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 ${v/a} is the same as ${v/a/} -- no replacement string

[osh-byterun stdout] Expected 'abb\nstatus=0\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 Replacement with special chars (bug fix)

[osh-byterun stdout] Expected '?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
mksh13 Replace backslash

stdout:
[_]
[_]
[\_]
[_]
stderr:
zsh13 Replace backslash

stdout:
[_]
[_]
[\_]
[_]
stderr:
osh-byterun13 Replace backslash

[osh-byterun stdout] Expected '[_]\n[\\_]\n[\\_]\n[_]\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-byterun14 Replace right ]

[osh-byterun stdout] Expected '--_--\n--_--\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
zsh15 Substitute glob characters in pattern, quoted and unquoted

stdout:
a-b
a-b
stderr:
osh-byterun15 Substitute glob characters in pattern, quoted and unquoted

[osh-byterun stdout] Expected 'a-b\n-\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