mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-08 05:04:45 +08:00
tests: Enable debug for dump test
This commit is contained in:
parent
221a95c839
commit
cfd26195dc
1 changed files with 1 additions and 1 deletions
|
|
@ -494,7 +494,7 @@ def test_npbackup_cli_dump():
|
|||
Don't use RedirectedStdout since dump will output binary data
|
||||
"""
|
||||
print("DUMPING FILE", DUMP_FILE_RESTIC_PATH, "TO", DUMP_FILE_RESTORED)
|
||||
cmd = f"{sys.executable} ..{os.sep}npbackup{os.sep}bin{os.sep}npbackup-cli -c {CONF_FILE} --dump {DUMP_FILE_RESTIC_PATH} > {DUMP_FILE_RESTORED}"
|
||||
cmd = f"{sys.executable} ..{os.sep}npbackup{os.sep}bin{os.sep}npbackup-cli -c {CONF_FILE} --debug --dump {DUMP_FILE_RESTIC_PATH} > {DUMP_FILE_RESTORED}"
|
||||
print(cmd)
|
||||
exit_code, output = command_runner(cmd, shell=True)
|
||||
print(exit_code, output)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue