X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=packer%2Fdebian64.bats;h=80481a5958e9d75ce9b3a205ac57e31acc7d8db8;hp=d5aca5988e5d6a2a7ba3cfcb24b36bc55c9508a3;hb=HEAD;hpb=a64cb363333c72863f3f0e6ca9e353fa3cb2a217 diff --git a/packer/debian64.bats b/packer/debian64.bats index d5aca59..3e5818c 100644 --- a/packer/debian64.bats +++ b/packer/debian64.bats @@ -17,7 +17,7 @@ teardown() { @test "debian_version exists and is valid version" { run cat "${mountpath}/etc/debian_version" [ "$status" -eq 0 ] - [[ "$output" == [0-9]*.[0-9]* ]] || [[ "$output" == 'bullseye/sid' ]] + [[ "$output" == [0-9]*.[0-9]* ]] || [[ "$output" == 'bookworm/sid' ]] } @test "kernel exists" { @@ -75,7 +75,7 @@ teardown() { [ "$status" -eq 0 ] } -@test "home directory for user vagrant" { +@test "ssh key for user vagrant" { run grep -q ssh-rsa "$mountpath"/home/vagrant/.ssh/authorized_keys [ "$status" -eq 0 ] }