2021-07-16 19:25:16 +00:00
|
|
|
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2021-08-31 23:36:01 +00:00
|
|
|
//go:build !windows
|
|
|
|
// +build !windows
|
2021-07-16 19:25:16 +00:00
|
|
|
|
|
|
|
package vms
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
func TestRunUbuntu1804(t *testing.T) {
|
|
|
|
setupTests(t)
|
2021-08-26 22:01:46 +00:00
|
|
|
testOneDistribution(t, 0, Distros[0])
|
2021-07-16 19:25:16 +00:00
|
|
|
}
|
2021-08-31 23:36:01 +00:00
|
|
|
|
2021-07-16 19:25:16 +00:00
|
|
|
func TestRunUbuntu2004(t *testing.T) {
|
|
|
|
setupTests(t)
|
2021-08-26 22:01:46 +00:00
|
|
|
testOneDistribution(t, 1, Distros[1])
|
2021-07-16 19:25:16 +00:00
|
|
|
}
|
2022-04-11 18:58:06 +00:00
|
|
|
|
|
|
|
func TestRunNixos2111(t *testing.T) {
|
|
|
|
t.Parallel()
|
|
|
|
setupTests(t)
|
|
|
|
testOneDistribution(t, 2, Distros[2])
|
|
|
|
}
|