Results for builtins.test.sh

statusoshosh_.pyosh_.cc
pass 332613
FAIL 2922
total353535
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
6FAIL FAIL FAIL cd BAD/..
detailsdetailsdetails
7pass pass FAIL $OLDPWD
details
8pass pass pass pwd
9pass pass FAIL pwd after cd ..
details
10pass pass FAIL pwd with symlink and -P
details
11pass pass pass setting $PWD doesn't affect the value of 'pwd' builtin
12pass pass pass unset PWD; then pwd
13pass pass FAIL 'unset PWD; pwd' before any cd (tickles a rare corner case)
details
14pass pass FAIL lie about PWD; pwd before any cd
details
15pass pass pass remove pwd dir
16pass pass FAIL pwd in symlinked dir on shell initialization
details
17pass pass FAIL Test the current directory after 'cd ..' involving symlinks
details
18pass pass FAIL cd with no arguments
details
19pass pass pass cd to nonexistent dir
20pass pass FAIL cd away from dir that was deleted
details
21pass pass pass cd permits double bare dash
22pass pass FAIL cd to symlink with -L and -P
details
23pass pass FAIL cd to relative path with -L and -P
details
24pass pass pass Exit out of function
25pass pass pass Exit builtin with invalid arg
26pass pass pass Exit builtin with too many args
27pass pass FAIL time block
details
28pass pass FAIL time pipeline
details
29pass pass pass shift
30pass pass pass Shifting too far
31pass pass pass Invalid shift argument
32pass FAIL FAIL get umask
detailsdetails
33pass FAIL FAIL set umask in octal
detailsdetails
34FAIL FAIL FAIL set umask symbolically
detailsdetailsdetails
72 passed, 0 OK, 0 not implemented, 0 BUG, 33 failed, 0 timeouts, 0 cases skipped
2 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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 195, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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.stripped: mycpp/mylib.h:681: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.
timeout: the monitored command dumped core
osh_.py1 exec builtin with redirects

[osh_.py stderr] Expected 'to stderr\n', got 'Traceback (most recent call last):\n File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>\n sys.exit(main(sys.argv))\n File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main\n None)\n File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main\n cmd_flags=cmd_eval.IsMainProgram)\n File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch\n is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch\n status = self._Execute(node)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute\n status = self._Dispatch(node, cmd_st)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch\n status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand\n return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)\n File "/home/andy/git/oilshell/oil/core/executor.py", line 195, in RunSimpleCommand\n status = self.RunBuiltin(builtin_id, cmd_val)\n File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 195, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.\ntimeout: the monitored command dumped core\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.
timeout: the monitored command dumped core
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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 195, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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.stripped: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
timeout: the monitored command dumped core
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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 195, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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.stripped: mycpp/mylib.h:681: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.
timeout: the monitored command dumped core
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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 195, in RunSimpleCommand
    status = self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.
timeout: the monitored command dumped core
osh6 cd BAD/..

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

stdout:
status=0
stderr:
osh_.py6 cd BAD/..

[osh_.py stdout] Expected 'status=1\n', got 'status=0\n'

stdout:
status=0
stderr:
osh_.cc6 cd BAD/..

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

stdout:
status=0
stderr:
dumb_alloc:
	gNumNew = 1996
	gNumDelete = 147
	gMemPos = 68672

	gNumMalloc = 153
	gNumFree = 0
	gMemPos2 = 15296
osh_.cc7 $OLDPWD

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc9 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.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc10 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.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc13 '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.stripped: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc14 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.stripped: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc16 pwd in symlinked dir on shell initialization

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc17 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.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc18 cd with no arguments

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc20 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.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc22 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/andy/git/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/cd-symlink/cd-symtarget': File exists
osh_eval.opt.stripped: cpp/libc.h:43: Str* libc::realpath(Str*): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc23 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/andy/git/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/cd-symlink/subdir': File exists
osh_eval.opt.stripped: cpp/libc.h:43: Str* libc::realpath(Str*): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc27 time block

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc28 time pipeline

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/core_pyos.h:43: Tuple3<double, double, double> pyos::Time(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.py32 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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 744, in _Dispatch
    self.shell_ex.RunPipeline(node, cmd_st)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 322, in RunPipeline
    status_out.pipe_status = pi.Run(self.waiter, self.fd_state)
  File "/home/andy/git/oilshell/oil/core/process.py", line 1097, in Run
    self.Start(waiter)
  File "/home/andy/git/oilshell/oil/core/process.py", line 1040, in Start
    pid = proc.Start(trace.PipelinePart())
  File "/home/andy/git/oilshell/oil/core/process.py", line 892, in Start
    self.thunk.Run()
  File "/home/andy/git/oilshell/oil/core/process.py", line 706, in Run
    self.cmd_ev.ExecuteAndCatch(self.node, cmd_flags=cmd_eval.Optimize)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 225, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 32
osh_.cc32 get umask

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.py33 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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>\n sys.exit(main(sys.argv))\n File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main\n None)\n File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main\n cmd_flags=cmd_eval.IsMainProgram)\n File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch\n is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch\n status = self._Execute(node)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute\n status = self._Dispatch(node, cmd_st)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch\n status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand\n return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)\n File "/home/andy/git/oilshell/oil/core/executor.py", line 225, in RunSimpleCommand\n return self.RunBuiltin(builtin_id, cmd_val)\n File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 225, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 32
osh_.cc33 set umask in octal

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

stdout:
stderr: 
osh_eval.opt.stripped: mycpp/mylib.h:681: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.
timeout: the monitored command dumped core
osh34 set umask symbolically

[osh stdout] Expected '664\n644\n', got '664\n664\n'
[osh stderr] Expected u'', got "rm: cannot remove '/home/andy/git/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/umask-one': No such file or directory\nrm: cannot remove '/home/andy/git/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/andy/git/oilshell/oil/_tmp/spec-tmp/builtins.test.sh/umask-one': No such file or directory
rm: cannot remove '/home/andy/git/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_.py34 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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>\n sys.exit(main(sys.argv))\n File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main\n None)\n File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main\n cmd_flags=cmd_eval.IsMainProgram)\n File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch\n is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch\n status = self._Execute(node)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute\n status = self._Dispatch(node, cmd_st)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch\n status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand\n return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)\n File "/home/andy/git/oilshell/oil/core/executor.py", line 225, in RunSimpleCommand\n return self.RunBuiltin(builtin_id, cmd_val)\n File "/home/andy/git/oilshell/oil/core/executor.py", line 125, 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/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 477, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 330, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1560, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1398, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 700, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 537, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 225, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 125, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 32
osh_.cc34 set umask symbolically

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

stdout:
stderr: 
osh_eval.opt.stripped: mycpp/mylib.h:681: V Dict<K, V>::index(K) [with K = int; V = vm::_Builtin*]: Assertion `0' failed.
timeout: the monitored command dumped core