Skip to content

Commit db9c14c

Browse files
committed
cleanup path make_directory_all
1 parent e16f192 commit db9c14c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/system/test_filesystem.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ subroutine test_make_directory_all(error)
239239

240240
! clean up: remove the empty directory
241241
if (is_windows()) then
242-
call execute_command_line('rmdir /s /q ' // dir_name, exitstat=ios, cmdstat=iocmd, cmdmsg=msg)
242+
call execute_command_line('rmdir /s /q d1', exitstat=ios, cmdstat=iocmd, cmdmsg=msg)
243243
else
244-
call execute_command_line('rm -rf ' // dir_name, exitstat=ios, cmdstat=iocmd, cmdmsg=msg)
244+
call execute_command_line('rm -rf d1', exitstat=ios, cmdstat=iocmd, cmdmsg=msg)
245245
end if
246246

247247
call check(error, ios==0 .and. iocmd==0, 'Cannot cleanup make_directory_all test: '//trim(msg))

0 commit comments

Comments
 (0)