diff options
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING/testing.md b/HACKING/testing.md index be74201..bc2754a 100644 --- a/HACKING/testing.md +++ b/HACKING/testing.md @@ -4,9 +4,9 @@ Testing Please write unit tests for new things. Tests can be run with `make check`, which just runs `./testenv bats cases` in the `test/` directory. You will need the `bats` tool (the `bats` Parabola package) in order to run the tests. -`./testenv` can be given `--no-network` and/or `--no-sudo` to dissable tests +`./testenv` can be given `--no-network` and/or `--no-sudo` to disable tests which require those things. You can also pass them to make as `TESTENVFLAGS`. -If you don't dissable either, I *strongly* recommend setting TMPDIR to somewhere +If you don't disable either, I *strongly* recommend setting TMPDIR to somewhere on a btrfs partition before running the tests; otherwise the chroot tests will take forever. I mean, they already take long on btrfs, but without it... _dang_. |