diff --git a/seccomp_test.go b/seccomp_test.go index e065425..9439008 100644 --- a/seccomp_test.go +++ b/seccomp_test.go @@ -54,6 +54,8 @@ func TestGetAPILevel(t *testing.T) { } func subprocessGetAPILevel(t *testing.T) { + t.Logf("version: %d.%d.%d, api supported: %v", verMajor, verMinor, verMicro, APILevelIsSupported()) + api, err := GetAPI() if !APILevelIsSupported() { if api != 0 { @@ -76,6 +78,7 @@ func TestSetAPILevel(t *testing.T) { func subprocessSetAPILevel(t *testing.T) { const expectedAPI = uint(1) + t.Logf("version: %d.%d.%d, api supported: %v", verMajor, verMinor, verMicro, APILevelIsSupported()) err := SetAPI(expectedAPI) if !APILevelIsSupported() { if err == nil {