16 lines
300 B
Go
16 lines
300 B
Go
package chroot
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/packer/packer-plugin-sdk/chroot"
|
|
)
|
|
|
|
func TestFlockCleanupFunc_ImplementsCleanupFunc(t *testing.T) {
|
|
var raw interface{}
|
|
raw = new(StepFlock)
|
|
if _, ok := raw.(chroot.Cleanup); !ok {
|
|
t.Fatalf("cleanup func should be a CleanupFunc")
|
|
}
|
|
}
|