Skip to content

Commit be1274b

Browse files
committed
cleanup
1 parent 9ddf034 commit be1274b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/system/test_filesystem.f90

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,18 @@ subroutine test_delete_directory(error)
128128
filename = 'test_directory'
129129

130130
! The directory is not nested: it should be cross-platform to just call `mkdir`
131-
print *, 'mkdir'
132131
call execute_command_line('mkdir ' // filename, exitstat=ios, cmdstat=iocmd, cmdmsg=msg)
133132
call check(error, ios==0 .and. iocmd==0, 'Cannot init delete_directory test: '//trim(msg))
134133
if (allocated(error)) return
135134

136135
! Attempt to delete a directory (which should fail)
137-
print *, 'dfelete'
138136
call delete_file(filename, state)
139137

140138
! Check that an error was raised since the target is a directory
141139
call check(error, state%error(), 'Error was not triggered trying to delete directory')
142140
if (allocated(error)) return
143141

144142
! Clean up: remove the empty directory
145-
print *, 'rmdir'
146143
call execute_command_line('rmdir ' // filename, exitstat=ios, cmdstat=iocmd, cmdmsg=msg)
147144
call check(error, ios==0 .and. iocmd==0, 'Cannot cleanup delete_directory test: '//trim(msg))
148145
if (allocated(error)) return

0 commit comments

Comments
 (0)