diff options
Diffstat (limited to 'pkg/host/host_test.go')
| -rw-r--r-- | pkg/host/host_test.go | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pkg/host/host_test.go b/pkg/host/host_test.go index 470a6e5e1..aa7020942 100644 --- a/pkg/host/host_test.go +++ b/pkg/host/host_test.go @@ -31,15 +31,9 @@ func TestLog(t *testing.T) { for c, reason := range disabled { t.Logf("%v: %v", c.Name, reason) } - trans := target.TransitivelyEnabledCalls(supp) + _, disabled = target.TransitivelyEnabledCalls(supp) t.Logf("\n\ntransitively unsupported:") - for _, c := range target.Syscalls { - s, ok := trans[c] - if ok && !s { - t.Fatalf("map contains false value") - } - if !s && supp[c] { - t.Logf("%v", c.Name) - } + for c, reason := range disabled { + t.Logf("%v: %v", c.Name, reason) } } |
