lxc-test-autostart revision fd2b7320e3562450111b5adaabcb7f6b9c8d9d13
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# lxc: linux Container library
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# Stéphane Graber <stgraber@ubuntu.com>
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# This is a test script for lxc-autostart
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# This library is free software; you can redistribute it and/or
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# modify it under the terms of the GNU Lesser General Public
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# License as published by the Free Software Foundation; either
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# version 2.1 of the License, or (at your option) any later version.
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# This library is distributed in the hope that it will be useful,
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# but WITHOUT ANY WARRANTY; without even the implied warranty of
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# Lesser General Public License for more details.
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# You should have received a copy of the GNU Lesser General Public
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# License along with this library; if not, write to the Free Software
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa lxc-destroy -n $CONTAINER_NAME >/dev/null 2>&1 || true
98d85d1178e853d8cd9628a86b7362481a921b9bEugen Kuksa if [ $DONE -eq 0 ]; then
set -eu