Comment 13 for bug 1409639

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Robie for the summary. For the record, if you want to continue running the DEP-8 tests in an upstart environment under vivid, you can do that at the top of your test:

if [ -d /run/systemd/system ]; then
    if [ ! -x /tmp/autopkgtest-reboot ]; then
        echo "SKIP: testbed does not support reboot"
        exit 0
    fi
    if [ -n "${ADT_REBOOT_MARK:-}" ]; then
        echo "SKIP: Reboot with upstart still runs systemd; using init= ?"
        exit 0
    fi
    echo "Installing upstart..."
    apt-get install -y upstart
    echo "Rebooting into upstart..."
    /tmp/autopkgtest-reboot b1
fi

(That's what I put into systemd-shim's tests, which also only run under upstart)