From 98a990ebf1b728fb20b358a4d4b17a14f3c6e942 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Mon, 26 Oct 2020 20:24:42 +0100 Subject: [PATCH] Fixed test case Signed-off-by: Janos SUTO --- tests/cases/05-smtp.inc | 2 ++ tests/setup.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/cases/05-smtp.inc b/tests/cases/05-smtp.inc index 94a46aed..a53ed2f1 100644 --- a/tests/cases/05-smtp.inc +++ b/tests/cases/05-smtp.inc @@ -26,6 +26,8 @@ case1() { run_05_sphinx_tests + docker exec "piler1" su piler -c 'php /usr/libexec/piler/generate_stats.php --webui /var/piler/www --start=2015/01/01 --stop=2020/12/31' + docker exec "piler1" su piler -c 'php /usr/libexec/piler/sign.php --webui /var/piler/www --mode time' } diff --git a/tests/setup.inc b/tests/setup.inc index 2cf689ed..7861fe11 100644 --- a/tests/setup.inc +++ b/tests/setup.inc @@ -33,7 +33,7 @@ launch_containers() { create_rules() { local container="$1" - echo 'echo "insert into domain (domain, mapped) values(\"fictive.com\",\"fictive.com\"),(\"acts.hu\",\"acts.hu\")"| mysql --defaults-file=/etc/piler/.my.cnf piler' | docker exec -i "$container" sh + echo 'echo "insert into domain (domain, mapped) values(\"fictive.com\",\"fictive.com\"),(\"acts.hu\",\"acts.hu\"),(\"gtsce.com\",\"fictive.com\"),(\"datanet.hu\",\"fictive.com\"),(\"gtsdatanet.hu\",\"fictive.com\"),(\"gts.hu\",\"fictive.com\")"| mysql --defaults-file=/etc/piler/.my.cnf piler' | docker exec -i "$container" sh echo 'echo "insert into archiving_rule (subject) values (\"Android táblagép\")"| mysql --defaults-file=/etc/piler/.my.cnf piler'|docker exec -i "$container" sh echo 'echo "insert into archiving_rule (\`from\`) values (\"@gmail.com\")"| mysql --defaults-file=/etc/piler/.my.cnf piler'|docker exec -i "$container" sh