|
|
@@ -18,7 +18,9 @@ class TestFsck(object): |
|
|
|
""" |
|
|
|
if db is not None: |
|
|
|
recursive_unlink("tests/fsck-testdb") |
|
|
|
shutil.copytree(f"tests/fsck-data/{db}", "tests/fsck-testdb") |
|
|
|
shutil.copytree(f"tests/fsck-data/{db}", "tests/fsck-testdb", |
|
|
|
ignore=shutil.ignore_patterns( |
|
|
|
"git-empty-dir-placeholder")) |
|
|
|
class stdio_wrapper: |
|
|
|
def __init__(self, stdin, stdout, stderr): |
|
|
|
self.io = (stdin, stdout, stderr) |
|
|
|