Skip to content

Commit

Permalink
[core/process_test] Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Mar 21, 2020
1 parent 328e636 commit 7ea281a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/process_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 7ea281a

Please sign in to comment.