diff --git a/src/stringtable.c b/src/stringtable.c index 64077ea..c0abe3d 100644 --- a/src/stringtable.c +++ b/src/stringtable.c @@ -31,8 +31,8 @@ unsigned char * strings[] = { /* 18 */ (unsigned char *)"AUTO", /* 19 */ (unsigned char *)"TLSPR", /* 20 */ (unsigned char *)"IMAPP", -/* 21 */ (unsigned char *)"ZOMBIE", -/* 22 */ NULL, +/* 21 */ (unsigned char *)"HTTPSRV", +/* 22 */ (unsigned char *)"ZOMBIE", /* 23 */ NULL, /* 24 */ NULL, #ifndef TPROXY_CONF diff --git a/tests/cases/admin.py b/tests/cases/admin.py index 078bd89..cec469c 100644 --- a/tests/cases/admin.py +++ b/tests/cases/admin.py @@ -51,6 +51,11 @@ def run(t): t.contains(counters, "", "the counters page renders a table") t.contains(reload("/R"), "Reload", "the reload page confirms the request") t.contains(t.http(url + "/S"), "<", "the services page returns markup") + # admin and httpsrv services are of type HTTPSRV, named as such, not as + # the zombie a stopped service is + services = t.http(url + "/S") + t.contains(services, "CDATA[HTTPSRV]", "the services page names the admin service HTTPSRV") + t.not_contains(services, "CDATA[ZOMBIE]", "and no running service a zombie") # --- the menu no longer offers the removed config editor ----------- main = t.http(url + "/")