Skip to content

Commit

Permalink
Merge pull request #16484 from JuliaLang/ksh/misctest
Browse files Browse the repository at this point in the history
Two small miscellaneous tests
  • Loading branch information
tkelman committed Jun 7, 2016
2 parents b396b4d + da8dd8d commit 3fbcdf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1109,3 +1109,4 @@ function test_13559()
end
test_13559()
end
@test_throws ArgumentError mkpath("fakepath",-1)
2 changes: 2 additions & 0 deletions test/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sprint(Base.Sys.cpu_summary)
@test Base.Sys.uptime() > 0
Base.Sys.loadavg()

@test !("f=a=k=e=n=a=m=e" keys(ENV))

# issue #10994
@test_throws ArgumentError ENV["bad\0name"] = "ok"
@test_throws ArgumentError ENV["okname"] = "bad\0val"
Expand Down

0 comments on commit 3fbcdf4

Please sign in to comment.