Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

UAPI Testing with KUnit

Linux Plumbers Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore a conference talk presenting a framework for testing kernel User Application Programming Interfaces (UAPIs) using KUnit. Learn about the current limitations of UAPI testing through userspace testcases with the kselftests framework, which lacks out-of-the-box solutions for testing against in-development kernel trees. Discover the proposed solution that builds test applications as part of the kernel build process using "userprogs" and runs them within regular KUnit testing infrastructure. Understand how this approach preserves structured TAP output from selftests while seamlessly integrating with KUnit output, making testcases behave identically to regular kernel-only KUnit tests for developers and CI systems. Examine the use of the nolibc library for compiling simple test programs with only a kernel toolchain and the strategy for sharing testcases between the new framework and regular kselftests. Engage with discussion topics covering merge requirements for mainline inclusion, missing features, coexistence with tools/testing/selftests, handling libgcc dependencies, managing different UAPI ABIs per architecture, and addressing complex test programs.

Syllabus

UAPI testing with KUnit - Thomas Weißschuh (Linutronix)

Taught by

Linux Plumbers Conference

Reviews

Start your review of UAPI Testing with KUnit

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.