tree: ec8660e6c22af9bf4eedfeec614fe4a93ef3eb73 [path history] [tgz]
  1. mailer-init.sh
  2. mailer-t1.output
  3. mailer-t1.sh
  4. mailer-tweak.py
  5. mailer.conf
  6. 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