. uniq -c ^~~~ process_test.py:1: 'uniq' not found pipe_status: [-1, -1, -1, 127] . head ^~~~ process_test.py:1: 'head' not found ls ^~ process_test.py:1: 'ls' not found head ^~~~ cat ^~~ process_test.py:1: 'cat' not found process_test.py:1: 'head' not found sort --reverse ^~~~ process_test.py:1: 'sort' not found EEEdate returned 0 date returned 0 date returned 0 uniq -c ^~~~ uniq -c ^~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory process_test.py:1: Can't execute 'does-not-exist': No such file or directory uniq -c ^~~~ Eprocess_test.py:1: Can't execute 'does-not-exist': No such file or directory EE. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1070, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1019, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 740, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 937, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 695, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 586, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 647, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.012s FAILED (errors=2) F ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1070, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1019, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 740, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- .Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 937, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 695, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 586, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 647, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ====================================================================== FAIL: testStdinRedirect (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 96, in testStdinRedirect self.assertEqual('one', line2) AssertionError: 'one' != '' ---------------------------------------------------------------------- Ran 5 tests in 0.012s FAILED====================================================================== (failures=1, errors=2) ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1070, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1019, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 740, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 937, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 695, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 586, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 647, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.012s FAILED (errors=2) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1070, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1019, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 740, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.022s FAILED (errors=1) ... ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1070, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1019, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 740, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.026s .FAILED (errors=1) ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 161, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1070, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1019, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 740, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.026s FAILED (errors=1) .Sun Aug 9 00:16:49 PDT 2020 date returned 0 uniq -c ^~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory E. ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 112, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 937, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 891, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 695, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 586, in Exec self._Exec(argv0_path, cmd_val.argv, cmd_val.arg_spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 647, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.044s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '100']) ('AFTER', ['0', '1', '2', '3', '100']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '100']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ---------------------------------------------------------------------- Ran 5 tests in 0.054s OK ('BEFORE', ['0', '1', '2', '3', '100']) ('AFTER', ['0', '1', '2', '3', '100']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '100']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '100'])