Test non-zero exit code

This commit is contained in:
Einar Forselv 2019-04-18 07:22:07 +02:00
parent 30e2a669cd
commit ac7237faa8
1 changed files with 5 additions and 0 deletions

View File

@ -77,7 +77,12 @@ def start_backup_process(config, containers):
print("start-backup-process") print("start-backup-process")
status(config, containers) status(config, containers)
import time
for i in range(5):
time.sleep(1)
print(i)
exit(1)
def parse_args(): def parse_args():
parser = argparse.ArgumentParser(prog='restic_volume_backup') parser = argparse.ArgumentParser(prog='restic_volume_backup')