github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/pkg/boot/acpi/rsdp_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 package acpi 6 7 import ( 8 "testing" 9 10 "github.com/u-root/u-root/pkg/testutil" 11 ) 12 13 func TestRSDP(t *testing.T) { 14 testutil.SkipIfNotRoot(t) 15 16 _, err := GetRSDP() 17 if err != nil { 18 t.Fatalf("GetRSDP: got %v, want nil", err) 19 } 20 }