mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-21 22:44:27 +01:00
To prepare for merging into kata-containers repository. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
22 lines
464 B
Go
22 lines
464 B
Go
// Copyright (c) 2018 ARM Limited
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package main
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func getExpectedHostDetails(tmpdir string) (HostInfo, error) {
|
|
expectedVendor := "0x41"
|
|
expectedModel := "8"
|
|
expectedVMContainerCapable := true
|
|
return genericGetExpectedHostDetails(tmpdir, expectedVendor, expectedModel, expectedVMContainerCapable)
|
|
}
|
|
|
|
func TestEnvGetEnvInfoSetsCPUType(t *testing.T) {
|
|
testEnvGetEnvInfoSetsCPUTypeGeneric(t)
|
|
}
|