Skip to content

Commit

Permalink
Fix the file order
Browse files Browse the repository at this point in the history
  • Loading branch information
peremato committed Dec 11, 2024
1 parent 02f4879 commit 59e479b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/testFileSystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ using XRootD.XrdCl
# topdown == true
iteration = 1
for (root, dirs, files) in walkdir(fs, "/tmp/walkdir")
sort!(files)
if iteration == 1
@test root == "/tmp/walkdir"
@test length(dirs) == 1
Expand All @@ -96,6 +97,7 @@ using XRootD.XrdCl
# topdown == false
iteration = 1
for (root, dirs, files) in walkdir(fs, "/tmp/walkdir"; topdown=false)
sort!(files)
if iteration == 1
@test root == "/tmp/walkdir/someotherdir"
@test length(dirs) == 0
Expand Down

0 comments on commit 59e479b

Please sign in to comment.