From bca121496002945586a8cee4f117f32c5dfee152 Mon Sep 17 00:00:00 2001 From: Florian Atteneder Date: Sat, 17 Feb 2024 22:23:29 +0100 Subject: [PATCH] wip: debug statements --- test/file.jl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/file.jl b/test/file.jl index 5d3ea8a21330c5..525f3649d9619e 100644 --- a/test/file.jl +++ b/test/file.jl @@ -1671,27 +1671,27 @@ end touch(fpath) @test ispath(fpath) - @warn stat(subdir) - @warn stat(fpath) + println(stat(subdir)) + println(stat(fpath)) # Test that we can actually set the executable/readable/writeable bit on all platforms. chmod(fpath, 0o644) - @warn stat(fpath) + println(stat(fpath)) @test !Sys.isexecutable(fpath) @test Sys.isreadable(fpath) @test Sys.iswriteable(fpath) chmod(fpath, 0o755) - @warn stat(fpath) + println(stat(fpath)) @test Sys.isexecutable(fpath) @test Sys.isreadable(fpath) @test Sys.iswriteable(fpath) chmod(fpath, 0o444) - @warn stat(fpath) + println(stat(fpath)) @test !Sys.isexecutable(fpath) @test Sys.isreadable(fpath) @test !Sys.iswriteable(fpath) chmod(fpath, 0o244) - @warn stat(fpath) + println(stat(fpath)) @test !Sys.isexecutable(fpath) @test !Sys.isreadable(fpath) @test Sys.iswriteable(fpath) @@ -1699,10 +1699,10 @@ end # Ensure that, on Windows, where inheritance is default, # chmod still behaves as we expect. if Sys.iswindows() - @warn stat(subdir) + println(stat(subdir)) chmod(subdir, 0o666) - @warn stat(subdir) - @warn stat(fpath) + println(stat(subdir)) + println(stat(fpath)) @test !Sys.isexecutable(fpath) @test Sys.isreadable(fpath) @test Sys.iswriteable(fpath)