From 39a8e3271084d7f28cfff3db3e9daece6e0d9da7 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sun, 28 Jul 2019 12:12:22 +0200 Subject: [PATCH] Added data officer email to test cases Signed-off-by: Janos SUTO --- tests/setup.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/setup.inc b/tests/setup.inc index 0e29020c..d7147d7d 100644 --- a/tests/setup.inc +++ b/tests/setup.inc @@ -49,4 +49,5 @@ create_rules() { add_data_officer() { local container="$1" echo 'echo "insert into user (uid, username, realname, password, domain, dn, isadmin) values(2, \"dataofficer\", \"Data officer\", \"\$6\$rX285LfP\$ZxhlacbzKuCcqkaizzBu8SAiYb6.f8K4Us08nUHwSpWMQkNhw4o2rmfKXoTfaM4rnBHUYVK1N4IfBsqN8CAtS/\", \"local\", \"*\", 4)"| mysql --defaults-file=/etc/piler/.my.cnf piler' | docker exec -i "$container" sh + echo 'echo "insert into email (uid, email) values(2, \"do@local\")"| mysql --defaults-file=/etc/piler/.my.cnf piler' | docker exec -i "$container" sh }