. 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 cat ^~~ process_test.py:1: 'cat' not found sort --reverse ^head~~~ ^~~~ process_test.py:1: 'sort' not found process_test.py:1: 'head' not found EEEdate returned 0date 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 ^~~~ process_test.py:1: Can't execute 'does-not-exist': No such file or directory EEEF ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 162, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1053, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1002, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 113, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 920, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 679, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 571, 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 632, 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\n', line1) AssertionError: 'one\n' != '' ---------------------------------------------------------------------- Ran 5 tests in 0.010s FAILED (failures=1, errors=2) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 162, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1053, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1002, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- ====================================================================== Traceback (most recent call last): File "core/process_test.py", line 113, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 920, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 679, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 571, 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 632, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ----------------------------------------------------------------------ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 162, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1053, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1002, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Run sys.exit(status) SystemExit: 127 ====================================================================== Ran 5 tests in 0.012s ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- FAILEDTraceback (most recent call last): File "core/process_test.py", line 113, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 920, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 679, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 571, 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 632, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 (errors=2) ---------------------------------------------------------------------- Ran 5 tests in 0.012s FAILED (errors=2) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 162, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1053, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1002, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.022s FAILED (errors=1) .... ============================================================================================================================================ ERROR: testPipeline2 (__main__.ProcessTest)ERROR: testPipeline2 (__main__.ProcessTest) -------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 162, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1053, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1002, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Run sys.exit(status) SystemExit: 127 Traceback (most recent call last): File "core/process_test.py", line 162, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 1053, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 1002, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Run sys.exit(status) SystemExit: 127 -------------------------------------------------------------------------------------------------------------------------------------------- Ran 5 tests in 0.026sRan 5 tests in 0.026s FAILEDFAILED (errors=1) (errors=1) .Mon Mar 23 13:36:20 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 113, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 920, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 874, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 679, in Run self.ext_prog.Exec(self.argv0_path, self.cmd_val, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 571, 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 632, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.040s 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.048s 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'])