Просмотр исходного кода

add debug print to display archive contents

Thomas Waldmann 1 неделя назад
Родитель
Сommit
87ff42ee27
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/borg/testsuite/archiver/create_cmd_test.py

+ 1 - 0
src/borg/testsuite/archiver/create_cmd_test.py

@@ -100,6 +100,7 @@ def test_basic_functionality(archivers, request):
 
     info_output = cmd(archiver, "info", "-a", "test")
     item_count = 5 if has_lchflags else 6  # one file is UF_NODUMP
+    print("archive contents:\n%s" % list_output)
     assert "Number of files: %d" % item_count in info_output
     shutil.rmtree(archiver.cache_path)
     info_output2 = cmd(archiver, "info", "-a", "test")