1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#!/bin/bash set -u -e exec 2>&1 # If any post-install changes are needed, this is where they should go. copy_logs() { (debian/tests/copy_logs.py /var/log /var/lib/maas/dhcp /etc/maas) } # http://imgur.com/LaJ9Kmo trap copy_logs EXIT # Run tests. (cd debian/tests && xargs -r nosetests3 --verbose --stop --with-xunit --xunit-file=$ADT_ARTIFACTS/nosetests.xml < image-suite) |