From 7ea281a7685eb0b168754ac4fc53b529bafdfbae Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Sat, 21 Mar 2020 09:36:12 +0900 Subject: [PATCH] [core/process_test] Update test --- core/process_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/process_test.py b/core/process_test.py index 8df6acafea..7d3e31b054 100755 --- a/core/process_test.py +++ b/core/process_test.py @@ -17,6 +17,7 @@ from core.util import log from core import state from osh import builtin_misc +from asdl import runtime Process = process.Process ExternalThunk = process.ExternalThunk @@ -77,7 +78,7 @@ def testStdinRedirect(self): # Should get the first line twice, because Pop() closes it! - r = redirect.Path(Id.Redir_Less, 0, PATH) + r = redirect.Path(Id.Redir_Less, 0, PATH, runtime.NO_SPID) fd_state.Push([r], waiter) line1 = builtin_misc.ReadLineFromStdin(None) fd_state.Pop()