Rewrite pjdfstest suite

Project description

This project aims to rewrite the pjdfstest suite. Today, the tests are written in a mix of shell script and C. This approach has provided some flexibility and usability, allowing to use syscalls within a shell environment. However, it also has disadvantages, the main ones being performance, code duplication and higher entry barrier for potential contributors. We want to improve the test suite, by switching to a unique language, Rust. Rust has numerous advantages, in particular, fearless multithreading, low-level handling and increased safety.

Approach to solving the problem

We want to write a Rust binary, which:

The project will not rely on the Rust testing framework, therefore, we will need to do the test collection ourselves.

Deliverables

Milestones

The Code

https://github.com/musikid/pjdfstest

Weekly reports

Weeks

Week 1

Notes

https://github.com/pjd/pjdfstest/issues/59

https://github.com/musikid/pytest-atf.git

https://www.freebsd.org/cgi/man.cgi?query=atf-test-program&sektion=1&apropos=0&manpath=FreeBSD+13.0-RELEASE+and+Ports

https://www.freebsd.org/cgi/man.cgi?query=atf-test-case&sektion=4&apropos=0&manpath=FreeBSD+13.0-RELEASE+and+Ports

https://nexte.st/book/how-it-works.html

https://github.com/jmmv/kyua/wiki/About

SummerOfCode2022Projects/RewritePJDFSTestSuite (last edited 2022-06-20T20:33:04+0000 by SayafdineSaid)