Skip to content

Commit

Permalink
Merge pull request #11704 from JuliaLang/yyc/segv-test
Browse files Browse the repository at this point in the history
Disable test for ReadOnlyMemoryError for now
  • Loading branch information
JeffBezanson committed Jun 14, 2015
2 parents 9f33a39 + 224829e commit 99391b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ c[5] = UInt8('x')
Libc.msync(c)
close(s)
s = open(file, "r")
c = mmap_array(UInt8, (11,), s)
@test_throws ReadOnlyMemoryError c[5] = UInt8('x')
# FIXME: Disable for now because of memory corruption. See #11691
# c = mmap_array(UInt8, (11,), s)
# @test_throws ReadOnlyMemoryError c[5] = UInt8('x')
str = readline(s)
close(s)
@test startswith(str, "Hellx World")
Expand Down

0 comments on commit 99391b3

Please sign in to comment.