Sha256: 692ab573d795293803c48d4d4172d0510407c9ae1b0217598aa66e4d010a7487

Contents?: true

Size: 942 Bytes

Versions: 33

Compression:

Stored size: 942 Bytes

Contents

#!/usr/bin/env bats

@test "Check that we have Install-Recommends set to false" {
    grep 'APT::Install-Recommends "false";' /etc/apt/apt.conf.d/10general
}

@test "Check that we have Install-Suggests set to false" {
    grep 'APT::Install-Suggests "false";' /etc/apt/apt.conf.d/10general
}

@test "Check that we have Update-Package-Lists set to 1" {
    grep 'APT::Periodic::Update-Package-Lists "1";' /etc/apt/apt.conf.d/10periodic
}

@test "Check that we have Download-Upgradeable-Packages set to 1" {
    grep 'APT::Periodic::Download-Upgradeable-Packages "1";' /etc/apt/apt.conf.d/10periodic
}

@test "Check that we have python-apt installed" {
    dpkg -s python-apt
}

@test "Check that we have sudo installed" {
    dpkg -s sudo
}

@test "Check that we have rpcbind installed" {
    run dpkg -s rpcbind
    [ $status -ne 0 ]
}

#@test "Check that we have do not have a testuser" {
#    run id -u "testuser"
#    [ $status -ne 0 ]
#}

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
taperole-2.1.1 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.1.0 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.7 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.6 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.5 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.4 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.3 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.2 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.1 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-2.0.0 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.8.2 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.8.1 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.8.0 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.7.1 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.7.0 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.6.0 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.5.5 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.5.4 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.5.3 vendor/lxhunter.apt/test/integration/default/bats/simple.bats
taperole-1.5.2 vendor/lxhunter.apt/test/integration/default/bats/simple.bats