1
0
Fork 0
apache2/test/modules/md/notifail.py
Daniel Baumann 7263481e48
Adding upstream version 2.4.63.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 11:01:26 +02:00

16 lines
427 B
Python
Executable file

#!/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)