Skip to content

Commit

Permalink
Merge pull request #156 from JuliaLang/tk/gitpath
Browse files Browse the repository at this point in the history
modify path for tests that shell out on windows
  • Loading branch information
tkelman committed Jan 26, 2016
2 parents 5559bce + db2973a commit 96a68c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,11 @@ end
@test CartesianTest.f(1,2,3,4) == (1,2,3,4)
@test CartesianTest.f(1,2,3,4,5) == (1,2,3,4,5)

@test readall(pipeline(`echo hello`, `sort`)) == "hello\n"
@test success(pipeline(`true`, `true`))
extrapath = @windows? joinpath(JULIA_HOME,"..","Git","usr","bin")*";" : ""
@compat withenv("PATH" => extrapath * ENV["PATH"]) do
@test readall(pipeline(`echo hello`, `sort`)) == "hello\n"
@test success(pipeline(`true`, `true`))
end

let convert_funcs_and_types =
((integer, :Integer), (signed, :Signed), (unsigned, :Unsigned),
Expand Down

0 comments on commit 96a68c9

Please sign in to comment.