Skip to content

Commit 0e2b525

Browse files
allow dir to be searchable
1 parent 80f7ee6 commit 0e2b525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Profile/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ end
295295
@testset "default save when current directory is readonly" begin
296296
tmpdir = mktempdir()
297297
fname = cd(tmpdir) do
298-
chmod(tmpdir, 0o444)
298+
chmod(tmpdir, 0o555)
299299
read(`$(Base.julia_cmd()) --startup-file=no -e "using Profile; print(Profile.take_heap_snapshot())"`, String)
300300
end
301301
@test !occursin(tmpdir, fname) # should not be in the given dir

0 commit comments

Comments
 (0)