dev/chroot-test/action/install-installables
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:35 +0100
changeset 371 e9ce904b62a9
parent 364 1048e2943566
permissions -rwxr-xr-x
[test] add unit tests for ruleset We extract the rules building logic from readfile into a Ruleset.buildrules() method to ease testing.

if ${CHROOT_TEST_INSTALLDEB:-false} ; then
    aptitude --allow-untrusted --quiet --without-recommends --assume-yes  install \
         debconf python adduser openssh-server ucf
    echo dpkg -i /var/cache/apt/archives/mercurial-common_*.deb /var/cache/apt/archives/mercurial_*.deb *.deb
    dpkg -i /var/cache/apt/archives/mercurial-common_*.deb /var/cache/apt/archives/mercurial_*.deb *.deb
else
    aptitude --allow-untrusted --quiet --without-recommends --assume-yes  install \
        make mercurial xsltproc docbook-xsl openssh-server \
        python adduser
    cd mercurial-server
    make setup-adduser
fi