README.md
1To use the acceptance tests:
2
3* check out core from https://github.com/cfengine/core to directory `$CHECKOUT`
4* go to top directory (`masterfiles`)
5* run `make check CORE=$CHECKOUT`
6* to see the test logs, run `make checklog CORE=$CHECKOUT`
7
8To run the unsafe tests - i.e. tests that potentially alter the system in a way
9that may render it unstable and that are contained in the unsafe subdirectory,
10set the following environment variables:
11
12UNSAFE_TESTS=1
13GAINROOT=sudo
14
15For example, from the top level masterfiles directory:
16UNSAFE_TESTS=1 GAINROOT=sudo make check
17
18
19
20