From: Michael Prokop Date: Thu, 11 Jul 2019 16:41:17 +0000 (+0200) Subject: packer: support Debian 10.0 in tests X-Git-Tag: v0.90~11 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=c7ddca2d38ad6698a115de7f4d6a47f60d5ba48b packer: support Debian 10.0 in tests Debian/buster is version "10.0". --- diff --git a/packer/debian64.bats b/packer/debian64.bats index b0f9be6..d5aca59 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" == 'buster/sid' ]] + [[ "$output" == [0-9]*.[0-9]* ]] || [[ "$output" == 'bullseye/sid' ]] } @test "kernel exists" {