ktf icon indicating copy to clipboard operation
ktf copied to clipboard

Kernel Test Framework - a unit test framework for the Linux kernel

Results 17 ktf issues
Sort by recently updated
recently updated
newest added

In function ktf_query,When there are enough test cases, the sum of the case name strings is larger than the skb size, which will cause the sending to fail.Is this a...

![image](https://user-images.githubusercontent.com/32387252/181002176-2f51fc94-82d6-4ef5-99f8-27dab5b0cd41.png) ![image](https://user-images.githubusercontent.com/32387252/181002222-85cf970f-d858-4483-9891-2278220add71.png) ![image](https://user-images.githubusercontent.com/32387252/181002342-c803bbd3-bb01-49db-9600-688fd5b9893b.png) Hello,why the TEST_F do not use __fixture as parameter name?

I have meet the problems about config KTF, when I enter the command '~/Downloads/ktf-master/configure KVER=$(uname -r)', I get the error about 'syntax error near unexpected token 'GTEST'','PKG_CHECK_MODULES(GTEST, gtest >=1.9.0), HAVE_GTEST="yes"'...

first .i do it from the guide https://blogs.oracle.com/linux/post/writing-kernel-tests-with-the-new-kernel-test-framework-ktf has some errors: /home/luhy/build/3.10.0-1160.36.2.el7.x86_64/kernel/ktf_nl.c:70:8: error: ‘GENL_ID_GENERATE’ undeclared here (not in a function) .id = GENL_ID_GENERATE, ^ /home/luhy/build/3.10.0-1160.36.2.el7.x86_64/kernel/ktf_nl.c: In function ‘ktf_nl_register’: /home/luhy/build/3.10.0-1160.36.2.el7.x86_64/kernel/ktf_nl.c:525:2: error:...

Hello, While compiling kernel 5.4.125 with the latest KTF version (SHA-1 63c19dead80de9cd654b08120d28a04f24174f4b), I got the `nla_strscpy implicit declaration` error. This issue should have been solved with the lines in ktf_compat.h...

Hi, i'm using KTF_OVERRIDE macro to override kernel functions and KTF_SET_RETURN_VALUE macro to set the returned value of the overrided function. I was wondering if there is a way to...

Hello, I was using KTF with a Linux Kernel 5.4 (Ubuntu 20.04) (Thanks to your help from last issue), but I'm facing new compilation error with the Linux Kernel 5.8....

Hybrid tests are great, but manually maintaining the mapping of user/kernel tests is hard. We've seen scenarios in which user space test were left orphaned/unmatched after an innocent refactor to...

Hi, I was using KTF on a project with a Linux Kernel 5.3 (Ubuntu 18.04), but after passing on 5.4 (Ubuntu 20.04), the KTF Framework cannot compile. From what i...

Hi, I'm having some issues executing a simple test with ktf. I'm cross-compiling ktf for arm64 architecture. I'm using the latests revisions of KTF and googletest on a 4.14.115 Linux...