Subject: | Test fails (directory order; 1.2806) |
It seems that you cannot rely on a specific directory or File::Find order:
# Failed test 'callback'
# at t/10-dir.t line 29.
# got: '(
# "t/test_dir/aAa",
# "t/test_dir/aAa/bBb",
# "t/test_dir/aAa/bBb/cCc",
# "t/test_dir/aAa/bBb/cCc/level_three.txt",
# "t/test_dir/aAa/bBb/level_two.txt",
# "t/test_dir/aAa/leve_one.txt",
# "t/test_dir/aAa_Copy",
# "t/test_dir/aAa_Copy/bBb",
# "t/test_dir/aAa_Copy/bBb/cCc",
# "t/test_dir/aAa_Copy/bBb/cCc/level_three.txt",
# "t/test_dir/aAa_Copy/bBb/level_two.txt",
# "t/test_dir/aAa_Copy/bBb_Copy",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc/level_three.txt",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc_Copy",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc_Copy/level_three.txt",
# "t/test_dir/aAa_Copy/bBb_Copy/level_two.txt",
# "t/test_dir/aAa_Copy/leve_one.txt",
# "t/test_dir/level_zero.txt",
# )'
# expected: '(
# "t/test_dir/level_zero.txt",
# "t/test_dir/aAa_Copy",
# "t/test_dir/aAa_Copy/leve_one.txt",
# "t/test_dir/aAa_Copy/bBb_Copy",
# "t/test_dir/aAa_Copy/bBb_Copy/level_two.txt",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc_Copy",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc_Copy/level_three.txt",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc",
# "t/test_dir/aAa_Copy/bBb_Copy/cCc/level_three.txt",
# "t/test_dir/aAa_Copy/bBb",
# "t/test_dir/aAa_Copy/bBb/level_two.txt",
# "t/test_dir/aAa_Copy/bBb/cCc",
# "t/test_dir/aAa_Copy/bBb/cCc/level_three.txt",
# "t/test_dir/aAa",
# "t/test_dir/aAa/leve_one.txt",
# "t/test_dir/aAa/bBb",
# "t/test_dir/aAa/bBb/level_two.txt",
# "t/test_dir/aAa/bBb/cCc",
# "t/test_dir/aAa/bBb/cCc/level_three.txt",
# )'
# Looks like you failed 1 test of 3.
t/10-dir.t ..........................