From c7ddca2d38ad6698a115de7f4d6a47f60d5ba48b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 11 Jul 2019 18:41:17 +0200 Subject: [PATCH 1/1] packer: support Debian 10.0 in tests Debian/buster is version "10.0". --- packer/debian64.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" { -- 2.1.4