Results for glob.test.sh

casedashbashmkshashoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass FAIL glob double quote escape
details
1pass pass pass pass pass pass FAIL glob single quote escape
details
2pass pass pass pass pass pass FAIL glob backslash escape
details
3pass pass pass pass pass pass FAIL 1 char glob
details
4pass pass pass pass pass pass FAIL 0 char glob -- does NOT work
details
5pass pass pass pass pass pass FAIL looks like glob at the start, but isn't
details
6pass pass pass pass pass pass FAIL looks like glob plus negation at the start, but isn't
details
7pass pass pass pass pass pass FAIL glob can expand to command and arg
details
8pass pass pass pass pass pass FAIL glob after var expansion
details
9pass pass pass pass pass pass FAIL quoted var expansion with glob meta characters
details
10pass pass pass pass pass pass FAIL glob after "$@" expansion
details
11pass pass pass pass pass pass FAIL glob after $@ expansion
details
12pass pass pass pass pass pass FAIL no glob after ~ expansion
details
13N-I pass pass N-I pass pass FAIL store literal globs in array then expand
detailsdetailsdetails
14N-I pass pass N-I pass pass FAIL glob inside array
detailsdetailsdetails
15pass pass pass pass pass pass FAIL glob with escaped - in char class
details
16pass pass BUG pass pass pass FAIL glob with char class expression
detailsdetails
17pass pass pass pass pass pass FAIL glob double quotes
details
18pass pass pass pass pass pass FAIL glob escaped
details
19pass pass BUG pass pass pass FAIL : escaped
detailsdetails
20pass BUG pass pass pass pass FAIL Redirect to glob, not evaluated
detailsdetails
21pass pass pass pass pass pass FAIL Glob after var manipulation
details
22pass pass pass pass pass pass FAIL Glob after part joining
details
23pass pass pass pass pass pass FAIL Glob flags on file system
details
24pass pass pass pass pass pass FAIL set -o noglob
details
25N-I pass N-I N-I pass pass FAIL shopt -s nullglob
detailsdetailsdetailsdetails
26N-I pass N-I N-I FAIL FAIL FAIL shopt -s failglob
detailsdetailsdetailsdetailsdetailsdetails
27N-I pass N-I N-I FAIL FAIL FAIL Don't glob flags on file system with GLOBIGNORE
detailsdetailsdetailsdetailsdetailsdetails
28BUG pass pass pass pass pass FAIL Splitting/Globbing doesn't happen on local assignment
detailsdetails
29pass pass pass pass pass pass FAIL Glob of unescaped [[] and []]
details
30BUG pass BUG pass pass pass FAIL Glob of negated unescaped [[] and []]
detailsdetailsdetails
31N-I pass pass pass FAIL FAIL FAIL PatSub of unescaped [[] and []]
detailsdetailsdetailsdetails
32N-I pass BUG pass FAIL FAIL FAIL PatSub of negated unescaped [[] and []]
detailsdetailsdetailsdetailsdetails

168 passed, 0 ok, 15 known unimplemented, 7 known bugs, 4 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 glob double quote escape

[osh-byterun stdout] Expected '*.sh\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 single quote escape

[osh-byterun stdout] Expected '*.sh\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 glob backslash escape

[osh-byterun stdout] Expected '*.sh\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 1 char glob

[osh-byterun stdout] Expected 'bin\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 0 char glob -- does NOT work

[osh-byterun stdout] Expected '[]bin\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 looks like glob at the start, but isn't

[osh-byterun stdout] Expected '[bin\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 looks like glob plus negation at the start, but isn't

[osh-byterun stdout] Expected '[!bin\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 glob can expand to command and arg

[osh-byterun stdout] Expected 'spec/testdata/echo.sz\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 glob after var expansion

[osh-byterun stdout] Expected '_tmp/a.A _tmp/aa.A _tmp/b.B\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 quoted var expansion with glob meta characters

[osh-byterun stdout] Expected '[ _tmp/*.A ]\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 glob after "$@" expansion

[osh-byterun stdout] Expected '_tmp/*.B\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 glob after $@ expansion

[osh-byterun stdout] Expected '_tmp/b.B\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 no glob after ~ expansion

[osh-byterun stdout] Expected '*/*.py\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 store literal globs in array then expand

stdout:
stderr: 
_tmp/spec-bin/dash: 2: Syntax error: "(" unexpected
ash13 store literal globs in array then expand

stdout:
stderr: 
_tmp/spec-bin/ash: syntax error: unexpected "("
osh-byterun13 store literal globs in array then expand

[osh-byterun stdout] Expected '_tmp/a.A _tmp/aa.A _tmp/b.B\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 glob inside array

stdout:
stderr: 
_tmp/spec-bin/dash: 2: Syntax error: "(" unexpected
ash14 glob inside array

stdout:
stderr: 
_tmp/spec-bin/ash: syntax error: unexpected "("
osh-byterun14 glob inside array

[osh-byterun stdout] Expected '_tmp/a.A _tmp/aa.A _tmp/b.B\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 glob with escaped - in char class

[osh-byterun stdout] Expected '_tmp/c.C _tmp/c.C _tmp/foo.-\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
mksh16 glob with char class expression

stdout:
_tmp/*.[[:punct:]E]
stderr:
osh-byterun16 glob with char class expression

[osh-byterun stdout] Expected '_tmp/e.E _tmp/foo.-\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 glob double quotes

[osh-byterun stdout] Expected '_tmp/"quoted.py"\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 glob escaped

[osh-byterun stdout] Expected '_tmp/[abc] _tmp/?\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
mksh19 : escaped

stdout:
_tmp/*.[[:punct:]] _tmp/*.[[:punct:]]
stderr:
osh-byterun19 : escaped

[osh-byterun stdout] Expected '_tmp/foo.- _tmp/*.[[:punct:]]\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
bash20 Redirect to glob, not evaluated

stdout:
stderr: 
cat: '_tmp/*.F': No such file or directory
osh-byterun20 Redirect to glob, not evaluated

[osh-byterun stdout] Expected 'foo\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 Glob after var manipulation

[osh-byterun stdout] Expected '_tmp/*.zzzZ _tmp/bar.zzz _tmp/foo.zzz\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 Glob after part joining

[osh-byterun stdout] Expected '_tmp/*.yy _tmp/bar.yyy _tmp/foo.yyy\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 Glob flags on file system

[osh-byterun stdout] Expected u'hello zzzzz', 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 set -o noglob

[osh-byterun stdout] Expected u'_tmp/spec-tmp/a.zz _tmp/spec-tmp/b.zz\n_tmp/spec-tmp/*.zz\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
dash25 shopt -s nullglob

stdout:
['_tmp/spec-tmp/*.nonexistent']
['_tmp/spec-tmp/*.nonexistent']
stderr:
_tmp/spec-bin/dash: 2: shopt: not found
mksh25 shopt -s nullglob

stdout:
['_tmp/spec-tmp/*.nonexistent']
['_tmp/spec-tmp/*.nonexistent']
stderr:
_tmp/spec-bin/mksh: <stdin>[2]: shopt: not found
ash25 shopt -s nullglob

stdout:
['_tmp/spec-tmp/*.nonexistent']
['_tmp/spec-tmp/*.nonexistent']
stderr:
_tmp/spec-bin/ash: shopt: not found
osh-byterun25 shopt -s nullglob

[osh-byterun stdout] Expected u"['_tmp/spec-tmp/*.nonexistent']\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
dash26 shopt -s failglob

stdout:
['*.ZZ']
['*.ZZ']
status=0
stderr:
_tmp/spec-bin/dash: 2: shopt: not found
mksh26 shopt -s failglob

stdout:
['*.ZZ']
['*.ZZ']
status=0
stderr:
_tmp/spec-bin/mksh: <stdin>[2]: shopt: not found
ash26 shopt -s failglob

stdout:
['*.ZZ']
['*.ZZ']
status=0
stderr:
_tmp/spec-bin/ash: shopt: not found
osh26 shopt -s failglob

[osh stdout] Expected u"['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n"
[osh status] Expected 0, got 1

stdout:
['*.ZZ']
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 783, in <module>
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 726, in AppBundleMain
    status = ShellMain('osh', argv0, main_argv, login_shell)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 162, in Batch
    is_control_flow, is_fatal = ex.ExecuteAndCatch(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 713, in _Dispatch
    argv = self.word_ev.EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1115, in EvalWordSequence
    return self._EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1105, in _EvalWordSequence
    self._EvalWordFrame(frame, argv)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1058, in _EvalWordFrame
    results = self.globber.Expand(a)
  File "/home/andy/git/oilshell/oil/osh/glob_.py", line 344, in Expand
    raise NotImplementedError
NotImplementedError
osh_ALT26 shopt -s failglob

[osh_ALT stdout] Expected u"['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n"
[osh_ALT status] Expected 0, got 1

stdout:
['*.ZZ']
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 770, in _cpython_main_hook
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 745, in AppBundleMain
    return readlink.main(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 169, in Batch
    return ex.LastStatus()
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1129, in _Dispatch
    libc.print_time(real, user, sys_)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1115, in EvalWordSequence
    return self._EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1105, in _EvalWordSequence
    self._EvalWordFrame(frame, argv)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1058, in _EvalWordFrame
    results = self.globber.Expand(a)
  File "/home/andy/git/oilshell/oil/osh/glob_.py", line 344, in Expand
    raise NotImplementedError
NotImplementedError
FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.6.pre17/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh-byterun26 shopt -s failglob

[osh-byterun stdout] Expected u"['*.ZZ']\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
dash27 Don't glob flags on file system with GLOBIGNORE

stdout:
hello zzzzz
stderr:
mksh27 Don't glob flags on file system with GLOBIGNORE

stdout:
hello zzzzz
stderr:
ash27 Don't glob flags on file system with GLOBIGNORE

stdout:
hello zzzzz
stderr:
osh27 Don't glob flags on file system with GLOBIGNORE

[osh stdout] Expected u'-* hello zzzz?\n', got 'hello zzzzz'

stdout:
hello zzzzz
stderr:
osh_ALT27 Don't glob flags on file system with GLOBIGNORE

[osh_ALT stdout] Expected u'-* hello zzzz?\n', got ''
[osh_ALT status] Expected 0, got 99

stdout:
stderr: 
osh-byterun27 Don't glob flags on file system with GLOBIGNORE

[osh-byterun stdout] Expected u'-* hello zzzz?\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
dash28 Splitting/Globbing doesn't happen on local assignment

stdout:
stderr: 
_tmp/spec-bin/dash: 2: local: 40chars.ttyrec: bad variable name
osh-byterun28 Splitting/Globbing doesn't happen on local assignment

[osh-byterun stdout] Expected 'void *\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 Glob of unescaped [[] and []]

[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
dash30 Glob of negated unescaped [[] and []]

stdout:
_[^[z] _[^]z]
_[^[z] _[^]z]
stderr:
mksh30 Glob of negated unescaped [[] and []]

stdout:
_[^[z] _[^]z]
_[^[z] _[^]z]
stderr:
osh-byterun30 Glob of negated unescaped [[] and []]

[osh-byterun stdout] Expected '_G _G\n_G _G\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
dash31 PatSub of unescaped [[] and []]

stdout:
stderr: 
_tmp/spec-bin/dash: 2: Bad substitution
osh31 PatSub of unescaped [[] and []]

[osh stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo]\n[foo]\n[foo>\n'

stdout:
<foo]
[foo]
[foo]
[foo>
stderr:
osh_ALT31 PatSub of unescaped [[] and []]

[osh_ALT stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo]\n[foo]\n[foo>\n'

stdout:
<foo]
[foo]
[foo]
[foo>
stderr:
osh-byterun31 PatSub of unescaped [[] and []]

[osh-byterun stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\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
dash32 PatSub of negated unescaped [[] and []]

stdout:
stderr: 
_tmp/spec-bin/dash: 2: Bad substitution
mksh32 PatSub of negated unescaped [[] and []]

stdout:
<foo]
[foo>
<foo]
stderr:
osh32 PatSub of negated unescaped [[] and []]

[osh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n[foo]\n'
[osh status] Expected 0, got 1

stdout:
[<<<<
[foo]
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 783, in <module>
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 726, in AppBundleMain
    status = ShellMain('osh', argv0, main_argv, login_shell)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 162, in Batch
    is_control_flow, is_fatal = ex.ExecuteAndCatch(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 713, in _Dispatch
    argv = self.word_ev.EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1115, in EvalWordSequence
    return self._EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1088, in _EvalWordSequence
    self._EvalWordToParts(w, False, part_vals)  # not double quoted
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 889, in _EvalWordToParts
    self._EvalWordPart(p, part_vals, quoted=quoted)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 852, in _EvalWordPart
    self._EvalBracedVarSub(part, part_vals, quoted)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 673, in _EvalBracedVarSub
    regex, warnings = glob_.GlobToERE(pat_val.s)
  File "/home/andy/git/oilshell/oil/osh/glob_.py", line 296, in GlobToERE
    regex = _GenerateERE(parts)
  File "/home/andy/git/oilshell/oil/osh/glob_.py", line 253, in _GenerateERE
    raise AssertionError(part.id)
AssertionError: <Id_t Glob_Caret 250>
osh_ALT32 PatSub of negated unescaped [[] and []]

[osh_ALT stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n[foo]\n'
[osh_ALT status] Expected 0, got 1

stdout:
[<<<<
[foo]
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 770, in _cpython_main_hook
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 745, in AppBundleMain
    return readlink.main(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 169, in Batch
    return ex.LastStatus()
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1129, in _Dispatch
    libc.print_time(real, user, sys_)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1115, in EvalWordSequence
    return self._EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1088, in _EvalWordSequence
    self._EvalWordToParts(w, False, part_vals)  # not double quoted
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 889, in _EvalWordToParts
    self._EvalWordPart(p, part_vals, quoted=quoted)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 852, in _EvalWordPart
    self._EvalBracedVarSub(part, part_vals, quoted)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 700, in _EvalBracedVarSub
    begin = self.arith_ev.Eval(op.begin)
  File "/home/andy/git/oilshell/oil/osh/glob_.py", line 296, in GlobToERE
    regex = _GenerateERE(parts)
  File "/home/andy/git/oilshell/oil/osh/glob_.py", line 257, in _GenerateERE
    out.append('.')
AssertionError: <Id_t Glob_Caret 250>
FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.6.pre17/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh-byterun32 PatSub of negated unescaped [[] and []]

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