Fix previous commit.
[pwmd.git] / tests / README
blobb452a8b2c2feb962c520063e15dbbfa75f218844
1 Most of these tests require the pwmc client included with libpwmd to compare
2 the result of pwmd commands against static results. The current directory is
3 passed as the argument to pwmd's --homedir command line option to hold the
4 pwmd socket, data files and temporary configuration files.
6 A new pwmd and gpg-agent process is started for each test and terminated when
7 each test completes.
9 Doing 'make tests' will run all tests. To run a specific test, just run the
10 script of the test you want which has the .test extension. For example,
12 $ ./acl.test
14 will run the ACL test. If there is a failure of some kind, the test stops at
15 the failed command with the result of the command, if any, stored in the file
16 'result'. The expected result of a test is stored in the test filename with an
17 .resultN extension where N is a test number.