mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
testing: output elapsed time for provisioning
This commit is contained in:
parent
2ac391796e
commit
4b50572dc9
3
tests/vagrant/vanilla/Vagrantfile
vendored
3
tests/vagrant/vanilla/Vagrantfile
vendored
@ -59,6 +59,7 @@ if [ \\$EUID -ne 0 ]; then
|
|||||||
echo "Must be root"
|
echo "Must be root"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
start=\\$(date +%s)
|
||||||
cd /mailinabox
|
cd /mailinabox
|
||||||
export PRIMARY_HOSTNAME=vanilla.local
|
export PRIMARY_HOSTNAME=vanilla.local
|
||||||
#export FEATURE_MUNIN=false
|
#export FEATURE_MUNIN=false
|
||||||
@ -68,6 +69,8 @@ tests/system-setup/vanilla.sh
|
|||||||
# --enable-mod=roundcube-master \
|
# --enable-mod=roundcube-master \
|
||||||
# --enable-mod=roundcube-debug \
|
# --enable-mod=roundcube-debug \
|
||||||
# --enable-mod=rcmcarddav-composer
|
# --enable-mod=rcmcarddav-composer
|
||||||
|
end=\\$(date +%s)
|
||||||
|
echo "Provisioning took \\$(source tests/lib/misc.sh; elapsed_pretty \\$start \\$end)"
|
||||||
EOF
|
EOF
|
||||||
chmod +x /tmp/provision.sh
|
chmod +x /tmp/provision.sh
|
||||||
/tmp/provision.sh
|
/tmp/provision.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user