blob: a02cd391b06c97a44e40982563198171ecf3f1c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env python3
import sys
def main(argv):
if len(argv) > 1:
msg = argv[2] if len(argv) > 2 else None
# fail on later messaging stages, not the initial 'renewing' one.
# we have test_901_030 that check that later stages are not invoked
# when misconfigurations are detected early.
sys.exit(1 if msg != "renewing" else 0)
if __name__ == "__main__":
main(sys.argv)
|