Updated Development (markdown)

DatuX
2023-10-02 23:12:41 +02:00
parent ce953ba9cf
commit 09ac859f3d

@ -31,6 +31,16 @@ ZfsAutoverify.py v3.2-alpha1 - (c)2021 E.H.Eefting (edwin@datux.nl)
I'm using a test driven design process, usually i write the code and corresponding tests in unison.
### Running tests via docker
This is the easiest way to run the testsuite against the zfs modules in the running kernel. It will use Alpine for the zfs userspace utilities.
From the main repo just run: `./tests/run_tests_docker`
### Running directly (without docker)
This can be a bit more tricky.
The tests run against actual zfs commands and create a lot of temporary pools via loopback-images in the /tmp dir. Therefore the tests need root to run.
The tests also need ssh support via root@localhost, so it will create and install a sshkey if needed.