Results for builtins.test.sh

statusoshosh_.pyosh_.cc
pass 332612
FAIL 1822
total343434
caseoshosh_.pyosh_.ccdescription
0pass FAIL FAIL exec builtin
detailsdetails
1pass FAIL FAIL exec builtin with redirects
detailsdetails
2pass FAIL FAIL exec builtin with here doc
detailsdetails
3pass FAIL FAIL exec builtin accepts --
detailsdetails
4pass FAIL FAIL exec -- 2>&1
detailsdetails
5pass pass pass cd and $PWD
6pass pass FAIL $OLDPWD
details
7pass pass pass pwd
8pass pass FAIL pwd after cd ..
details
9pass pass FAIL pwd with symlink and -P
details
10pass pass pass setting $PWD doesn't affect the value of 'pwd' builtin
11pass pass pass unset PWD; then pwd
12pass pass FAIL 'unset PWD; pwd' before any cd (tickles a rare corner case)
details
13pass pass FAIL lie about PWD; pwd before any cd
details
14pass pass pass remove pwd dir
15pass pass FAIL pwd in symlinked dir on shell initialization
details
16pass pass FAIL Test the current directory after 'cd ..' involving symlinks
details
17pass pass FAIL cd with no arguments
details
18pass pass FAIL cd to nonexistent dir
details
19pass pass FAIL cd away from dir that was deleted
details
20pass pass pass cd permits double bare dash
21pass pass FAIL cd to symlink with -L and -P
details
22pass pass FAIL cd to relative path with -L and -P
details
23pass pass pass Exit out of function
24pass pass pass Exit builtin with invalid arg
25pass pass pass Exit builtin with too many args
26pass pass FAIL time block
details
27pass pass FAIL time pipeline
details
28pass pass pass shift
29pass pass pass Shifting too far
30pass pass pass Invalid shift argument
31pass FAIL FAIL get umask
detailsdetails
32pass FAIL FAIL set umask in octal
detailsdetails
33FAIL FAIL FAIL set umask symbolically
detailsdetailsdetails
71 passed, 0 OK, 0 not implemented, 0 BUG, 31 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh_.py0 exec builtin

[osh_.py stdout] Expected 'hi\n', got ''
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 193, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 3
osh_.cc0 exec builtin

[osh_.cc stdout] Expected 'hi\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: mycpp/mylib.h:674: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.
osh_.py1 exec builtin with redirects

[osh_.py stderr] Expected 'to stderr\n', got 'Traceback (most recent call last):\n File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>\n sys.exit(main(sys.argv))\n File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main\n None)\n File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main\n cmd_flags=cmd_eval.IsMainProgram)\n File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch\n is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch\n status = self._Execute(node)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute\n status, check_errexit = self._Dispatch(node, pipeline_st)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch\n status = self._RunSimpleCommand(cmd_val, node.do_fork)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand\n return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)\n File "/home/travis/build/oilshell/oil/core/executor.py", line 193, in RunSimpleCommand\n status = self.RunBuiltin(builtin_id, cmd_val)\n File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin\n builtin_func = self.builtins[builtin_id]\nKeyError: 3\n'
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 193, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 3
osh_.cc1 exec builtin with redirects

[osh_.cc stderr] Expected 'to stderr\n', got "osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.
osh_.py2 exec builtin with here doc

[osh_.py stdout] Expected 'x=one\ny=two\nDONE\n', got ''
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 193, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 3
osh_.cc2 exec builtin with here doc

[osh_.cc stdout] Expected 'x=one\ny=two\nDONE\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.py3 exec builtin accepts --

[osh_.py stdout] Expected 'hi\n', got ''
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 193, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 3
osh_.cc3 exec builtin accepts --

[osh_.cc stdout] Expected 'hi\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: mycpp/mylib.h:674: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.
osh_.py4 exec -- 2>&1

[osh_.py stdout] Expected 'stdout\n', got ''
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 193, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 3
osh_.cc4 exec -- 2>&1

[osh_.cc stdout] Expected 'stdout\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc6 $OLDPWD

[osh_.cc stdout] Expected 'old: /\nOLDPWD=/\n/\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc8 pwd after cd ..

[osh_.cc stdout] Expected 'dir-two\ndir-one\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc9 pwd with symlink and -P

[osh_.cc stdout] Expected 'pwd:\nsymlink\npwd -P:\ntarget\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc12 'unset PWD; pwd' before any cd (tickles a rare corner case)

[osh_.cc stdout] Expected '/tmp/oil-spec-test/pwd-2\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.cc13 lie about PWD; pwd before any cd

[osh_.cc stdout] Expected '/tmp/oil-spec-test/pwd-3\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.cc15 pwd in symlinked dir on shell initialization

[osh_.cc stdout] Expected 'symlink\ntarget\n', got ''
[osh_.cc stderr] Expected u'', got "osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.cc16 Test the current directory after 'cd ..' involving symlinks

[osh_.cc stdout] Expected 'a\nc\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc17 cd with no arguments

[osh_.cc stdout] Expected 'OK\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc18 cd to nonexistent dir

[osh_.cc stdout] Expected 'status=1\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:88: Str* posix::strerror(int): Assertion `0' failed.
osh_.cc19 cd away from dir that was deleted

[osh_.cc stdout] Expected 'cd-nonexistent\nstatus=0\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc21 cd to symlink with -L and -P

[osh_.cc stdout] Expected 'OK\nOK\nOK\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
ln: failed to create symbolic link '/home/travis/build/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/cd-symlink/cd-symtarget': File exists
osh_eval.opt: cpp/libc.h:43: Str* libc::realpath(Str*): Assertion `0' failed.
osh_.cc22 cd to relative path with -L and -P

[osh_.cc stdout] Expected 'OK\nOK\nOK\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
ln: failed to create symbolic link '/home/travis/build/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/cd-symlink/subdir': File exists
osh_eval.opt: cpp/libc.h:43: Str* libc::realpath(Str*): Assertion `0' failed.
osh_.cc26 time block

[osh_.cc stdout] Expected 'user\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc27 time pipeline

[osh_.cc stdout] Expected '3\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/core_pyos.h:31: Tuple3<double, double, double> pyos::Time(): Assertion `0' failed.
osh_.py31 get umask

[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 667, in _Dispatch
    self.shell_ex.RunPipeline(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 325, in RunPipeline
    status_out.codes = pi.Run(self.waiter, self.fd_state)
  File "/home/travis/build/oilshell/oil/core/process.py", line 1080, in Run
    self.Start(waiter)
  File "/home/travis/build/oilshell/oil/core/process.py", line 1017, in Start
    pid = proc.Start(trace.PipelinePart())
  File "/home/travis/build/oilshell/oil/core/process.py", line 880, in Start
    self.thunk.Run()
  File "/home/travis/build/oilshell/oil/core/process.py", line 704, in Run
    self.cmd_ev.ExecuteAndCatch(self.node, cmd_flags=cmd_eval.Optimize)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 230, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 32
osh_.cc31 get umask

[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py32 set umask in octal

[osh_.py stdout] Expected u'664\n644\n', got ''
[osh_.py stderr] Expected u'', got 'Traceback (most recent call last):\n File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>\n sys.exit(main(sys.argv))\n File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main\n None)\n File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main\n cmd_flags=cmd_eval.IsMainProgram)\n File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch\n is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch\n status = self._Execute(node)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute\n status, check_errexit = self._Dispatch(node, pipeline_st)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch\n status = self._RunSimpleCommand(cmd_val, node.do_fork)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand\n return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)\n File "/home/travis/build/oilshell/oil/core/executor.py", line 230, in RunSimpleCommand\n return self.RunBuiltin(builtin_id, cmd_val)\n File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin\n builtin_func = self.builtins[builtin_id]\nKeyError: 32\n'
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 230, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 32
osh_.cc32 set umask in octal

[osh_.cc stdout] Expected u'664\n644\n', got ''
[osh_.cc stderr] Expected u'', got "osh_eval.opt: mycpp/mylib.h:674: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: mycpp/mylib.h:674: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.
osh33 set umask symbolically

[osh stdout] Expected '664\n644\n', got '664\n664\n'
[osh stderr] Expected u'', got "rm: cannot remove '/home/travis/build/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/umask-one': No such file or directory\nrm: cannot remove '/home/travis/build/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/umask-two': No such file or directory\nosh warning: umask with symbolic input isn't implemented\n"

stdout:
664
664
stderr:
rm: cannot remove '/home/travis/build/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/umask-one': No such file or directory
rm: cannot remove '/home/travis/build/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/umask-two': No such file or directory
osh warning: umask with symbolic input isn't implemented
osh_.py33 set umask symbolically

[osh_.py stdout] Expected '664\n644\n', got ''
[osh_.py stderr] Expected u'', got 'Traceback (most recent call last):\n File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>\n sys.exit(main(sys.argv))\n File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main\n None)\n File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main\n cmd_flags=cmd_eval.IsMainProgram)\n File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch\n is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch\n status = self._Execute(node)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute\n status, check_errexit = self._Dispatch(node, pipeline_st)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch\n status = self._RunSimpleCommand(cmd_val, node.do_fork)\n File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand\n return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)\n File "/home/travis/build/oilshell/oil/core/executor.py", line 230, in RunSimpleCommand\n return self.RunBuiltin(builtin_id, cmd_val)\n File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin\n builtin_func = self.builtins[builtin_id]\nKeyError: 32\n'
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 230, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 32
osh_.cc33 set umask symbolically

[osh_.cc stdout] Expected '664\n644\n', got ''
[osh_.cc stderr] Expected u'', got "osh_eval.opt: mycpp/mylib.h:674: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: mycpp/mylib.h:674: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.