From f8401c1954a8e48ae3408ac1133f972b89f1f459 Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Tue, 22 Jun 2021 13:34:03 +0200 Subject: [PATCH] Reenable tests for 'cloudinit status' --- tests/packer.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/packer.bats b/tests/packer.bats index afded76..f944917 100644 --- a/tests/packer.bats +++ b/tests/packer.bats @@ -28,10 +28,10 @@ skip } -# @test "check cloudinit done" { -# result=$(ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ${USER}@${IP} "grep 'done' <(cloud-init status)") -# [ "$?" -eq 0 ] -# } +@test "check cloudinit done" { + result=$(ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ${USER}@${IP} "grep 'done' <(cloud-init status)") + [ "$?" -eq 0 ] +} # @test "check arping executed" {