3 mountpoint="/srv/debian"
5 @test "ensure no grub configuration is present" {
6 run ls "${mountpoint}"/boot/grub/grub.cfg
10 @test "kernel is absent" {
11 run ls "${mountpoint}"/boot/vmlinuz-*
15 @test "ensure eatmydata package is present" {
16 run chroot "${mountpath}" dpkg --list eatmydata
20 @test "debian_version exists and is valid version" {
21 run cat "${mountpoint}/etc/debian_version"
23 [[ "$output" == [0-9].[0-9]* ]] || [[ "$output" == 'stretch/sid' ]]