github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/pkg/pty/pty_integration_test.go (about)

     1  // Copyright 2019 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  // +build !race
     6  
     7  package pty
     8  
     9  import (
    10  	"testing"
    11  	"time"
    12  
    13  	"github.com/u-root/u-root/pkg/qemu"
    14  	"github.com/u-root/u-root/pkg/vmtest"
    15  )
    16  
    17  func TestIntegration(t *testing.T) {
    18  	o := &vmtest.Options{
    19  		QEMUOpts: qemu.Options{
    20  			Timeout: 120 * time.Second,
    21  		},
    22  	}
    23  	vmtest.GolangTest(t, []string{"github.com/u-root/u-root/pkg/pty"}, o)
    24  }