Skip to content

Commit

Permalink
also verify state of stdio streams
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaykm committed Feb 19, 2019
1 parent b2d963a commit d2b00bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/Distributed/test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1524,6 +1524,8 @@ cluster_cookie("")
for close_stdin in (true, false), stderr_to_stdout in (true, false)
npids = addprocs_with_testenv(RetainStdioTester(close_stdin,stderr_to_stdout))
@test remotecall_fetch(myid, npids[1]) == npids[1]
@test close_stdin != remotecall_fetch(()->isopen(stdin), npids[1])
@test stderr_to_stdout == remotecall_fetch(()->(stderr === stdout), npids[1])
rmprocs(npids)
end

Expand Down

0 comments on commit d2b00bd

Please sign in to comment.