. 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 ^~~~ process_test.py:1: 'head' not found cat ^~~ process_test.py:1: 'cat' not found sort --reverse ^~~~ process_test.py:1: 'sort' not found EEEdate returned 0 date returned 0 date returned 0 uniq -c ^~~~ 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 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 150, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 880, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 837, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testProcess (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 101, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 760, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 542, in Run self.ext_prog.Exec(self.argv0_path, self.arg_vec, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 441, in Exec self._Exec(argv0_path, arg_vec.strs, arg_vec.spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 501, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ====================================================================== FAIL: testStdinRedirect (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 84, in testStdinRedirect self.assertEqual('one\n', line1) AssertionError: 'one\n' != '' ---------------------------------------------------------------------- Ran 5 tests in 0.008s FAILED (failures=1, errors=2) .. ====================================================================== ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 150, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 880, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 837, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run sys.exit(status) SystemExit: 127 ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ERROR: testProcess (__main__.ProcessTest)---------------------------------------------------------------------- ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 150, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 880, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 837, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run sys.exit(status) SystemExit: 127 Traceback (most recent call last): File "core/process_test.py", line 101, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 760, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 542, in Run self.ext_prog.Exec(self.argv0_path, self.arg_vec, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 441, in Exec self._Exec(argv0_path, arg_vec.strs, arg_vec.spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 501, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ======================================================================---------------------------------------------------------------------- ERROR: testProcess (__main__.ProcessTest) ----------------------------------------------------------------------Ran 5 tests in 0.012s Traceback (most recent call last): File "core/process_test.py", line 101, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 760, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 542, in Run self.ext_prog.Exec(self.argv0_path, self.arg_vec, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 441, in Exec self._Exec(argv0_path, arg_vec.strs, arg_vec.spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 501, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 FAILED---------------------------------------------------------------------- (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 150, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 880, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 837, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.016s FAILED (errors=1) .. ====================================================================== ERROR: testPipeline2 (__main__.ProcessTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "core/process_test.py", line 150, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 880, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 837, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 581, 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 150, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 880, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 837, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 581, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.025s FAILED (errors=1) .Mon Dec 2 13:07:31 PST 2019 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 101, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 760, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 723, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 542, in Run self.ext_prog.Exec(self.argv0_path, self.arg_vec, self.environ) File "/home/andy/git/oilshell/oil/core/process.py", line 441, in Exec self._Exec(argv0_path, arg_vec.strs, arg_vec.spids[0], environ, True) File "/home/andy/git/oilshell/oil/core/process.py", line 501, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.036s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ---------------------------------------------------------------------- Ran 5 tests in 0.045s OK ('BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ('AFTER', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '4', '10', '11', '12', '13', '14', '15'])