Skip to content

Commit 3e739ba

Browse files
committed
WIP debug
Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 81afdf2 commit 3e739ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

seccomp_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ func TestGetAPILevel(t *testing.T) {
7070
}
7171

7272
func subprocessGetAPILevel(t *testing.T) {
73+
t.Logf("version: %d.%d.%d, api supported: %v", verMajor, verMinor, verMicro, APILevelIsSupported())
74+
7375
api, err := GetAPI()
7476
if !APILevelIsSupported() {
7577
if api != 0 {
@@ -92,6 +94,7 @@ func TestSetAPILevel(t *testing.T) {
9294
func subprocessSetAPILevel(t *testing.T) {
9395
const expectedAPI = uint(1)
9496

97+
t.Logf("version: %d.%d.%d, api supported: %v", verMajor, verMinor, verMicro, APILevelIsSupported())
9598
err := SetAPI(expectedAPI)
9699
if !APILevelIsSupported() {
97100
if err == nil {

0 commit comments

Comments
 (0)