github.com/mvdan/u-root-coreutils@v0.0.0-20230122170626-c2eef2898555/pkg/cmos/cmos_integration_test.go (about)

     1  // Copyright 2021 the u-root Authors. All rights reserved
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package cmos
     6  
     7  import (
     8  	"testing"
     9  
    10  	"github.com/mvdan/u-root-coreutils/pkg/qemu"
    11  	"github.com/mvdan/u-root-coreutils/pkg/vmtest"
    12  )
    13  
    14  // Copyright 2021 the u-root Authors. All rights reserved
    15  // Use of this source code is governed by a BSD-style
    16  // license that can be found in the LICENSE file.
    17  
    18  func TestIntegration(t *testing.T) {
    19  	o := &vmtest.Options{
    20  		QEMUOpts: qemu.Options{
    21  			Devices: []qemu.Device{},
    22  		},
    23  	}
    24  	vmtest.GolangTest(t, []string{"github.com/mvdan/u-root-coreutils/pkg/cmos"}, o)
    25  }