Skip to content

Commit f8401c1

Browse files
committed
Reenable tests for 'cloudinit status'
1 parent 6de9bd5 commit f8401c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/packer.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ skip
2828
}
2929

3030

31-
# @test "check cloudinit done" {
32-
# result=$(ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ${USER}@${IP} "grep 'done' <(cloud-init status)")
33-
# [ "$?" -eq 0 ]
34-
# }
31+
@test "check cloudinit done" {
32+
result=$(ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ${USER}@${IP} "grep 'done' <(cloud-init status)")
33+
[ "$?" -eq 0 ]
34+
}
3535

3636

3737
# @test "check arping executed" {

0 commit comments

Comments
 (0)