packer: avoid duplicate test name in debian64.bats
authorMichael Prokop <mika@grml.org>
Tue, 9 Jun 2020 10:22:39 +0000 (12:22 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 9 Jun 2020 12:55:10 +0000 (14:55 +0200)
Fixes:

| ==> virtualbox-iso: bats warning: duplicate test name(s) in /tmp/debian64.bats: test_home_directory_for_user_vagrant

packer/debian64.bats

index d5aca59..80481a5 100644 (file)
@@ -75,7 +75,7 @@ teardown() {
   [ "$status" -eq 0 ]
 }
 
   [ "$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 ]
 }
   run grep -q ssh-rsa "$mountpath"/home/vagrant/.ssh/authorized_keys
   [ "$status" -eq 0 ]
 }