. uniq -c ^~~~ process_test.py:1: 'uniq' not found pipe_status: [-1, -1, -1, 127] . head ^~~~ process_test.py:1: 'head' not found headcat ^^~~ ~~~ ls ^~ process_test.py:1: 'cat' not found process_test.py:1: 'ls' 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 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 EEEF ====================================================================== 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 95, in testStdinRedirect self.assertEqual('one', line1) AssertionError: 'one' != '' ---------------------------------------------------------------------- Ran 5 tests in 0.011s .FAILED. (failures=1, errors=2) ============================================================================================================================================ ERROR: testPipeline2 (__main__.ProcessTest)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 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)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 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.011sRan 5 tests in 0.011s FAILEDFAILED (errors=2) (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.021s 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.025s 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) .Sat Jul 18 01:01:33 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.041s 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.050s 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'])