lxc-test-autostart revision 45794802f13e5db18b5d7acb45169e1f4e8b70b2
2976N/A# lxc: linux Container library 2976N/A# Stéphane Graber <stgraber@ubuntu.com> 2976N/A# This is a test script for lxc-autostart 2976N/A# This library is free software; you can redistribute it and/or 2976N/A# modify it under the terms of the GNU Lesser General Public 2976N/A# License as published by the Free Software Foundation; either 2976N/A# version 2.1 of the License, or (at your option) any later version. 2976N/A# This library is distributed in the hope that it will be useful, 2976N/A# but WITHOUT ANY WARRANTY; without even the implied warranty of 2976N/A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2976N/A# Lesser General Public License for more details. 2976N/A# You should have received a copy of the GNU Lesser General Public 2976N/A# License along with this library; if not, write to the Free Software 2976N/A# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # Ensure it's not in lxc-autostart (echo "Container shouldn't be auto-started" && exit 1) # Mark it as auto-started and re-check (echo "Container should be auto-started" && exit 1) # Put it in a test group and set a delay # Check that everything looks good echo "Invalid autostart setting" &&
exit 1