# test: signup with working notify cmd and see that it is called with the # configured extra arguments def test_md_900_011(self, env):
command = self.notify_cmd
args = self.notify_log
extra_arg = "test_900_011_extra"
self.configure_httpd(env, self.domain, f"""
MDNotifyCmd {command} {args} {extra_arg} """) assert env.apache_restart() == 0, f'{env.apachectl_stderr}' assert env.await_completion([self.domain], restart=False)
time.sleep(1)
stat = env.get_md_status(self.domain) assert stat["renewal"]["last"]["status"] == 0
nlines = open(self.notify_log).readlines() assert ("['%s', '%s', '%s', '%s']" % (command, args, extra_arg, self.domain)) == nlines[0].strip()
# test: signup with working notify cmd for 2 MD and expect it to be called twice def test_md_900_012(self, env):
md1 = "a-" + self.domain
domains1 = [md1, "www." + md1]
md2 = "b-" + self.domain
domains2 = [md2, "www." + md2]
command = self.notify_cmd
args = self.notify_log
conf = MDConf(env)
conf.add(f"MDNotifyCmd {command} {args}")
conf.add_md(domains1)
conf.add_md(domains2)
conf.add_vhost(domains1)
conf.add_vhost(domains2)
conf.install() assert env.apache_restart() == 0, f'{env.apachectl_stderr}' assert env.await_completion([md1, md2], restart=False)
time.sleep(1)
stat = env.get_md_status(md1) assert stat["renewal"]["last"]["status"] == 0
stat = env.get_md_status(md2) assert stat["renewal"]["last"]["status"] == 0
nlines = open(args).readlines() assert2 == len(nlines)
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.12Bemerkung:
(vorverarbeitet am 2026-09-30)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.