Fix tests harder.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dan Helfman 2023-06-19 22:30:50 -07:00
parent fe37d893c7
commit 6f9ee9fa09

View File

@ -352,7 +352,7 @@ def upgrade_check_times(location_config, borg_repository_id):
logger.debug(f"\n#713: file listing:")
logger.debug(
execute_command_and_capture_output(
['ls', '-alR', f'{os.path.dirname(old_path)}'], capture_stderr=True, shell=True
['ls', '-alR', f'{os.path.dirname(os.path.dirname(old_path))}'], capture_stderr=True, shell=True
)
)
logger.debug(f"#713: os.path.isfile(old_path) = {os.path.isfile(old_path)}")