2020-05-18 23:56:07 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
DBHOST="127.0.0.1"
|
|
|
|
DBUSER_MONARC="sqlmonarcuser"
|
|
|
|
DBPASSWORD_MONARC="sqlmonarcuser"
|
|
|
|
# Comment/Uncomment and modify the following line to run tests from your host machine:
|
|
|
|
CONNECTION_OPTIONS="--ssl-key=~/web/monarc/MonarcAppFO/vagrant/.vagrant/machines/default/virtualbox/private_key"
|
2020-06-30 21:18:06 +02:00
|
|
|
#CONNECTION_OPTIONS=""
|
2020-05-18 23:56:07 +02:00
|
|
|
|
2020-06-24 15:12:40 +02:00
|
|
|
for i in {0..5}
|
|
|
|
do
|
2020-06-30 21:18:06 +02:00
|
|
|
mysql -h $DBHOST -u $DBUSER_MONARC -p$DBPASSWORD_MONARC $CONNECTION_OPTIONS monarc_cli_test < tests/scripts/insert_my_print_anrs.sql > /dev/null
|
2020-06-24 15:12:40 +02:00
|
|
|
done
|