mirror of
https://github.com/TheLocehiliosan/yadm
synced 2025-06-02 15:43:59 +00:00
Add test to verify that file is only included once in archive
As of the switch (in 4511f5d9
) to use git ls-files to list files to include in
archive, duplicate matches are automatically removed (fixes #125).
This commit is contained in:
parent
02b4019bc6
commit
1505b7ec8f
@ -97,6 +97,7 @@ def create_test_encrypt_data(paths):
|
||||
|
||||
# wildcards
|
||||
edata += "wild*\n"
|
||||
edata += "*card1\n" # matches same file as the one above
|
||||
paths.work.join("wildcard1").write("", ensure=True)
|
||||
paths.work.join("wildcard2").write("", ensure=True)
|
||||
expected.add("wildcard1")
|
||||
|
Loading…
Reference in New Issue
Block a user