mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
f53792026e
The tests build fine on other Unix's, they just can't run there. But there is already a t.Skip by default, so `go test` ends up working fine elsewhere and checks the code compiles. Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
16 lines
315 B
Go
16 lines
315 B
Go
// 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.
|
|
|
|
package vms
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestDistrosGotLoaded(t *testing.T) {
|
|
if len(Distros) == 0 {
|
|
t.Fatal("no distros were loaded")
|
|
}
|
|
}
|