Results for dbracket.test.sh

casebashmkshoshosh_ALTosh-byterundescription
0pass pass pass pass FAIL [[ glob matching, [[ has no glob expansion
details
1pass pass pass pass FAIL [[ glob matching with escapes
details
2pass pass pass pass FAIL equality
details
3pass pass pass pass FAIL [[ glob matching with unquoted var
details
4pass N-I pass pass FAIL [[ regex matching
detailsdetails
5pass N-I pass pass FAIL [[ regex syntax error
detailsdetails
6pass pass pass pass FAIL [[ has no word splitting
details
7pass pass pass pass FAIL [[ has quote joining
details
8pass pass pass pass FAIL [[ empty string is false
details
9pass pass pass pass FAIL && chain
details
10pass pass pass pass FAIL || chain
details
11pass pass pass pass FAIL [[ compound expressions
details
12pass pass pass pass FAIL precedence of && and || inside [[
details
13pass pass pass pass FAIL precedence of && and || in a command context
details
14pass N-I pass pass FAIL Octal literals with -eq
detailsdetails
15pass N-I pass pass FAIL Hex literals with -eq
detailsdetails
16pass pass pass pass FAIL > on strings
details
17pass pass pass pass FAIL != on strings
details
18ok ok pass pass FAIL -eq on strings
detailsdetailsdetails
19pass pass pass pass FAIL [[ compare with literal -f (compare with test-builtin.test.sh)
details
20pass ok pass pass FAIL [[ with op variable (compare with test-builtin.test.sh)
detailsdetails
21pass pass pass pass FAIL [[ with unquoted empty var (compare with test-builtin.test.sh)
details
22pass pass pass pass FAIL [[ at runtime doesn't work
details
23pass pass pass pass FAIL [[ with env prefix doesn't work
details
24pass pass pass pass FAIL [[ over multiple lines is OK
details
25pass pass pass pass FAIL Argument that looks like a command word operator
details
26pass ok pass pass FAIL Argument that looks like a real operator
detailsdetails
27pass pass pass pass FAIL Does user array equal "$@" ?
details
28pass pass pass pass FAIL Array coerces to string
details
29pass pass pass pass FAIL Quotes don't matter in comparison
details
30pass pass FAIL FAIL FAIL -eq with arithmetic expression!
detailsdetailsdetails
31pass pass pass pass FAIL -eq coercion produces weird results
details
32pass pass pass pass FAIL [[ '(' ]] is treated as literal
details
33pass ok pass pass FAIL [[ '(' foo ]] is syntax error
detailsdetails
34pass pass pass pass FAIL empty ! is treated as literal
details
35pass ok pass pass FAIL [[ -z ]] is syntax error
detailsdetails
36pass pass pass pass FAIL [[ -z '>' ]]
details
37pass ok pass pass FAIL [[ -z '>' a ]] is syntax error
detailsdetails
38pass pass pass pass FAIL test whether ']]' is empty
details
39pass ok pass pass FAIL [[ ]] is syntax error
detailsdetails
40pass ok pass pass FAIL [[ && ]] is syntax error
detailsdetails

149 passed, 9 ok, 4 known unimplemented, 0 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 [[ glob matching, [[ has no glob expansion

[osh-byterun stdout] Expected u'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 [[ glob matching with escapes

[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-byterun2 equality

[osh-byterun stdout] Expected u'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-byterun3 [[ glob matching with unquoted var

[osh-byterun stdout] Expected u'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
mksh4 [[ regex matching

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand
osh-byterun4 [[ regex matching

[osh-byterun stdout] Expected u'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
mksh5 [[ regex syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '=~' unexpected operator/operand
osh-byterun5 [[ regex syntax error

[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-byterun6 [[ has no word splitting

[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-byterun7 [[ has quote joining

[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-byterun8 [[ empty string is false

[osh-byterun stdout] Expected u'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-byterun9 && chain

[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
osh-byterun10 || chain

[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-byterun11 [[ compound expressions

[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-byterun12 precedence of && and || inside [[

[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-byterun13 precedence of && and || in a command context

[osh-byterun stdout] Expected 'NO precedence\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
mksh14 Octal literals with -eq

stdout:
false
stderr:
osh-byterun14 Octal literals with -eq

[osh-byterun stdout] Expected u'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
mksh15 Hex literals with -eq

stdout:
false
stderr:
_tmp/spec-bin/mksh: <stdin>[3]: 0x0f: bad number '0x0f'
osh-byterun15 Hex literals with -eq

[osh-byterun stdout] Expected u'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-byterun16 > on strings

[osh-byterun stdout] Expected u'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-byterun17 != on strings

[osh-byterun stdout] Expected u'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
bash18 -eq on strings

stdout:
true
true
stderr:
mksh18 -eq on strings

stdout:
true
true
stderr:
osh-byterun18 -eq on strings

[osh-byterun stdout] Expected u'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-byterun19 [[ compare with literal -f (compare with test-builtin.test.sh)

[osh-byterun stdout] Expected u'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
mksh20 [[ with op variable (compare with test-builtin.test.sh)

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '$op' unexpected operator/operand
osh-byterun20 [[ with op variable (compare with test-builtin.test.sh)

[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-byterun21 [[ with unquoted empty var (compare with test-builtin.test.sh)

[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-byterun22 [[ at runtime doesn't work

[osh-byterun status] Expected 127, 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-byterun23 [[ with env prefix doesn't work

[osh-byterun status] Expected 127, 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-byterun24 [[ over multiple lines is OK

[osh-byterun stdout] Expected u'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-byterun25 Argument that looks like a command word operator

[osh-byterun stdout] Expected u'false\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
mksh26 Argument that looks like a real operator

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '-f' missing argument
osh-byterun26 Argument that looks like a real operator

[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-byterun27 Does user array equal "$@" ?

[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-byterun28 Array coerces to string

[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-byterun29 Quotes don't matter in comparison

[osh-byterun stdout] Expected u'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
osh30 -eq with arithmetic expression!

[osh stdout] Expected 'true\ntrue\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
osh warning: Invalid integer constant '1+2'
osh warning: Invalid integer constant '1+2'
osh_ALT30 -eq with arithmetic expression!

[osh_ALT stdout] Expected 'true\ntrue\n', got ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
osh warning: Invalid integer constant '1+2'
osh warning: Invalid integer constant '1+2'
osh-byterun30 -eq with arithmetic expression!

[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-byterun31 -eq coercion produces weird results

[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-byterun32 [[ '(' ]] is treated as literal

[osh-byterun stdout] Expected 'status=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
mksh33 [[ '(' foo ]] is syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'foo' unexpected operator/operand
osh-byterun33 [[ '(' foo ]] is syntax error

[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-byterun34 empty ! is treated as literal

[osh-byterun stdout] Expected 'status=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
mksh35 [[ -z ]] is syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: syntax error: 'echo' unexpected operator/operand
osh-byterun35 [[ -z ]] is syntax error

[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-byterun36 [[ -z '>' ]]

[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
mksh37 [[ -z '>' a ]] is syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '--' unexpected operator/operand
osh-byterun37 [[ -z '>' a ]] is syntax error

[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-byterun38 test whether ']]' is empty

[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
mksh39 [[ ]] is syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'newline' unexpected operator/operand
osh-byterun39 [[ ]] is syntax error

[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
mksh40 [[ && ]] is syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '&&' expression expected
osh-byterun40 [[ && ]] is syntax error

[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