Results for builtin-bracket.test.sh

casedashbashmkshoshosh_ALTosh-byterundescription
0pass pass pass pass pass FAIL zero args: [ ]
details
1pass pass pass pass pass FAIL one arg: [ x ] where x is one of '=' '!' '(' ']'
details
2pass pass pass pass pass FAIL one arg: empty string is false. Equivalent to -n.
details
3N-I pass pass pass pass FAIL -a as unary operator (alias of -e)
detailsdetails
4pass pass pass pass pass FAIL two args: -z with = ! ( ]
details
5pass pass pass pass pass FAIL three args
details
6pass pass pass pass pass FAIL four args
details
7pass pass pass pass pass FAIL test with extra args is syntax error
details
8pass pass pass pass pass FAIL ] syntax errors
details
9pass pass pass pass pass FAIL -n
details
10pass pass pass pass pass FAIL ! -a
details
11pass pass pass pass pass FAIL -o
details
12pass pass pass pass pass FAIL ( )
details
13pass pass pass pass pass FAIL ( ) ! -a -o with system version of [
details
14BUG pass pass pass pass FAIL == is alias for =
detailsdetails
15N-I pass pass pass pass FAIL == and = does not do glob
detailsdetails
16pass pass pass pass pass FAIL [ with op variable
details
17pass pass pass pass pass FAIL [ with unquoted empty var
details
18pass pass pass pass pass FAIL [ compare with literal -f
details
19pass pass pass pass pass FAIL [ '(' foo ] is runtime syntax error
details
20pass pass pass pass pass FAIL -z '>' implies two token lookahead
details
21ok pass ok pass pass FAIL operator/operand ambiguity with ]
detailsdetailsdetails
22ok pass ok pass pass FAIL operator/operand ambiguity with -a
detailsdetailsdetails
23pass pass pass pass pass FAIL -d
details
24pass pass pass pass pass FAIL -x
details
25pass pass pass pass pass FAIL -r
details
26pass pass pass pass pass FAIL -w
details
27pass pass pass pass pass FAIL -h and -L test for symlink
details
28pass pass pass pass pass FAIL -t 1 for stdout
details
29pass BUG pass pass pass FAIL [ -t invalid ]
detailsdetails
30pass pass pass pass pass FAIL -ot and -nt
details
31pass pass BUG pass pass FAIL [ a -eq b ]
detailsdetails
32pass pass pass pass pass FAIL test -s
details

156 passed, 4 ok, 2 known unimplemented, 3 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 zero args: [ ]

[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-byterun1 one arg: [ x ] where x is one of '=' '!' '(' ']'

[osh-byterun stdout] Expected u'status=0\nstatus=0\nstatus=0\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-byterun2 one arg: empty string is false. Equivalent to -n.

[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
dash3 -a as unary operator (alias of -e)

stdout:
status=2
status=2
stderr:
_tmp/spec-bin/dash: 1: [: -a: unexpected operator
_tmp/spec-bin/dash: 3: [: -a: unexpected operator
osh-byterun3 -a as unary operator (alias of -e)

[osh-byterun stdout] Expected u'status=0\nstatus=1\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 two args: -z with = ! ( ]

[osh-byterun stdout] Expected u'status=1\nstatus=1\nstatus=1\nstatus=1\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 three args

[osh-byterun stdout] Expected u'status=1\nstatus=1\nstatus=0\nstatus=0\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-byterun6 four args

[osh-byterun stdout] Expected u'status=1\nstatus=1\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 test with extra args is syntax error

[osh-byterun stdout] Expected 'status=2\nstatus=2\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 ] syntax errors

[osh-byterun stdout] Expected 'status=2\nstatus=1\nstatus=2\nstatus=2\nstatus=2\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 -n

[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-byterun10 ! -a

[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
osh-byterun11 -o

[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
osh-byterun12 ( )

[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
osh-byterun13 ( ) ! -a -o with system version of [

[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
dash14 == is alias for =

stdout:
true
stderr:
_tmp/spec-bin/dash: 2: [: a: unexpected operator
osh-byterun14 == is alias for =

[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
dash15 == and = does not do glob

stdout:
status=1
status=2
stderr:
_tmp/spec-bin/dash: 3: [: abc: unexpected operator
osh-byterun15 == and = does not do glob

[osh-byterun stdout] Expected u'status=1\nstatus=1\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 [ with op variable

[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 [ with unquoted empty var

[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-byterun18 [ compare with literal -f

[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 [ '(' foo ] is runtime syntax error

[osh-byterun stdout] Expected 'status=2\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-byterun20 -z '>' implies two token lookahead

[osh-byterun stdout] Expected u'true\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
dash21 operator/operand ambiguity with ]

stdout:
status=2
stderr:
_tmp/spec-bin/dash: 1: [: -a: unexpected operator
mksh21 operator/operand ambiguity with ]

stdout:
status=2
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: [: ]: unexpected operator/operand
osh-byterun21 operator/operand ambiguity with ]

[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
dash22 operator/operand ambiguity with -a

stdout:
status=1
stderr:
mksh22 operator/operand ambiguity with -a

stdout:
status=2
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: [: expression expected
osh-byterun22 operator/operand ambiguity with -a

[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
osh-byterun23 -d

[osh-byterun stdout] Expected u'status=0\nstatus=1\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-byterun24 -x

[osh-byterun stdout] Expected u'no\nyes\nbad\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 -r

[osh-byterun stdout] Expected u'yes\nno\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-byterun26 -w

[osh-byterun stdout] Expected u'yes\nno\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-byterun27 -h and -L test for symlink

[osh-byterun stdout] Expected 'no\nno\nis-file\nsymlink\nsymlink\ndangling\ndangling\ndangling is not file\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 -t 1 for stdout

[osh-byterun stdout] Expected 'status=1\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
bash29 [ -t invalid ]

stdout:
status=1
stderr:
osh-byterun29 [ -t invalid ]

[osh-byterun stdout] Expected 'status=2\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-byterun30 -ot and -nt

[osh-byterun stdout] Expected 'older\nnot newer\nnot older than itself\nnot newer than itself\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
mksh31 [ a -eq b ]

stdout:
status=0
stderr:
osh-byterun31 [ a -eq b ]

[osh-byterun stdout] Expected 'status=2\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 test -s

[osh-byterun stdout] Expected 'status=1\nstatus=1\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