Updated Development (markdown)
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user