tree: 0d9e8345c257b89b6c3db979d29ab6fdabac782a [path history] [tgz]
  1. t2-reference/
  2. mailer-init.sh
  3. mailer-t1.output
  4. mailer-t1.sh
  5. mailer-t2.sh
  6. mailer-tweak.py
  7. mailer.conf
  8. README.md
tools/hook-scripts/mailer/tests/README.md

Setup

The dos2unix program is needed:

$ sudo apt install dos2unix

Prepare a repository for use with testing:

$ ./mailer-init.sh

(make sure the subversion bindings are installed; this is not normal; see Ubuntu package “python3-subversion”)

The above creates a test repository named mailer-init.12345 (whatever PID). You can now run the test using:

$ ./mailer-t1.sh mailer-init.12345/repos/ ../mailer.py