Results for extglob-match.test.sh

casebashmkshoshosh_ALTosh-byterundescription
0pass pass pass pass FAIL @ matches exactly one
details
1pass pass pass pass FAIL @() with variable arms
details
2pass N-I pass pass FAIL extglob in variable
detailsdetails
3pass BUG pass pass FAIL nested @()
detailsdetails
4pass pass pass pass FAIL nested @() with quotes and vars
details
5pass pass pass pass FAIL ? matches 0 or 1
details
6pass pass pass pass FAIL + matches 1 or more
details
7pass pass pass pass FAIL * matches 0 or more
details
8pass pass pass pass FAIL simple repetition with *(foo) and +(Foo)
details
9pass pass pass pass FAIL ! matches none
details
10pass pass pass pass FAIL match is anchored
details
11pass pass pass pass FAIL repeated match is anchored
details
12pass pass pass pass FAIL repetition with glob
details
13pass pass pass pass FAIL No brace expansion in ==
details
14pass pass pass pass FAIL adjacent extglob
details
15pass pass pass pass FAIL nested extglob
details
16pass pass pass pass FAIL extglob empty string
details
17pass pass pass pass FAIL extglob empty pattern
details
18pass pass pass pass FAIL case with extglob
details
19pass pass pass pass FAIL Without shopt -s extglob
details
20pass ok ok ok FAIL Turning extglob on changes the meaning of [[ !(str) ]] in bash
detailsdetailsdetailsdetails
21pass pass pass pass FAIL With extglob on, !($str) on the left or right of == has different meanings
details
22pass BUG pass pass FAIL extglob inside arg word
detailsdetails
23pass N-I pass pass FAIL extglob is not detected in regex!
detailsdetails

89 passed, 3 ok, 2 known unimplemented, 2 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 @ matches exactly one

[osh-byterun stdout] Expected 'TRUE\nFALSE\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 @() with variable arms

[osh-byterun stdout] Expected 'TRUE\nFALSE\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
mksh2 extglob in variable

stdout:
FALSE
FALSE
FALSE
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
osh-byterun2 extglob in variable

[osh-byterun stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\nFALSE\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
mksh3 nested @()

stdout:
FALSE
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
osh-byterun3 nested @()

[osh-byterun stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\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 nested @() with quotes and vars

[osh-byterun stdout] Expected 'TRUE\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 ? matches 0 or 1

[osh-byterun stdout] Expected 'TRUE\nFALSE\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 + matches 1 or more

[osh-byterun stdout] Expected 'TRUE\nFALSE\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 * matches 0 or more

[osh-byterun stdout] Expected 'TRUE\nFALSE\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 simple repetition with *(foo) and +(Foo)

[osh-byterun stdout] Expected 'TRUE\nTRUE\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-byterun9 ! matches none

[osh-byterun stdout] Expected 'TRUE\nFALSE\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-byterun10 match is anchored

[osh-byterun stdout] Expected 'FALSE\nFALSE\nTRUE\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 repeated match is anchored

[osh-byterun stdout] Expected 'FALSE\nFALSE\nTRUE\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 repetition with glob

[osh-byterun stdout] Expected 'TRUE\nFALSE\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-byterun13 No brace expansion in ==

[osh-byterun stdout] Expected 'TRUE\nFALSE\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 adjacent extglob

[osh-byterun stdout] Expected 'TRUE\nTRUE\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-byterun15 nested extglob

[osh-byterun stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\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-byterun16 extglob empty string

[osh-byterun stdout] Expected 'FALSE\nTRUE\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-byterun17 extglob empty pattern

[osh-byterun stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\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-byterun18 case with extglob

[osh-byterun stdout] Expected 'A\nA\nU\nB\nC\nD\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-byterun19 Without shopt -s extglob

[osh-byterun stdout] Expected 'TRUE\nFALSE\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
mksh20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
_tmp/spec-bin/mksh: <stdin>[5]: shopt: not found
osh20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
osh_ALT20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
osh-byterun20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

[osh-byterun stdout] Expected 'TRUE\nTRUE\nTRUE\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-byterun21 With extglob on, !($str) on the left or right of == has different meanings

[osh-byterun stdout] Expected 'TRUE\nFALSE\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
mksh22 extglob inside arg word

stdout:
TRUE
FALSE
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
osh-byterun22 extglob inside arg word

[osh-byterun stdout] Expected 'TRUE\nTRUE\nFALSE\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
mksh23 extglob is not detected in regex!

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand
osh-byterun23 extglob is not detected in regex!

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