. 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 0date 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 150, in testPipeline2 print(p.Run(_WAITER, _FD_STATE)) File "/home/andy/git/oilshell/oil/core/process.py", line 878, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 835, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 579, 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 758, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 540, 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 499, 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)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 878, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 835, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 579, in Run sys.exit(status) SystemExit: 127 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 878, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 835, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 579, 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 101, in testProcess print(p.Run(_WAITER)) File "/home/andy/git/oilshell/oil/core/process.py", line 758, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 540, 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 499, in _Exec sys.exit(status) # raises SystemExit 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 758, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 540, 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 499, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 -------------------------------------------------------------------------------------------------------------------------------------------- Ran 5 tests in 0.012sRan 5 tests in 0.012s FAILEDFAILED (errors=2) (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 878, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 835, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 579, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.017s 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 878, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 835, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 579, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.024s 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 878, in Run self.Start(waiter) File "/home/andy/git/oilshell/oil/core/process.py", line 835, in Start pid = proc.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 579, in Run sys.exit(status) SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.024s FAILED (errors=1) .Mon Sep 2 12:10:38 PDT 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 758, in Run self.Start() File "/home/andy/git/oilshell/oil/core/process.py", line 721, in Start self.thunk.Run() File "/home/andy/git/oilshell/oil/core/process.py", line 540, 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 499, in _Exec sys.exit(status) # raises SystemExit SystemExit: 127 ---------------------------------------------------------------------- Ran 5 tests in 0.035s FAILED (errors=1) ('BEFORE', ['0', '1', '2', '3', '10', '11']) ('AFTER', ['0', '1', '2', '3', '10', '11']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '10', '11']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist .. ---------------------------------------------------------------------- Ran 5 tests in 0.042s OK ('BEFORE', ['0', '1', '2', '3', '10', '11']) ('AFTER', ['0', '1', '2', '3', '10', '11']) ------------------------------------------------------------ ls | cut -d . -f 1 | head [-1, -1, 127] [-1, -1, -1, 127] ('FDS BEFORE', ['0', '1', '2', '3', '10', '11']) ------------------------------------------------------------ date ------------------------------------------------------------ does-not-exist 1 ('FDS AFTER', ['0', '1', '2', '3', '10', '11'])