Author: gstein Date: Mon Sep 18 08:13:36 2023 New Revision: 1912387 URL: http://svn.apache.org/viewvc?rev=1912387&view=rev Log: start some notes on how to init/run the mailer tests
Added: subversion/trunk/tools/hook-scripts/mailer/tests/README.md Added: subversion/trunk/tools/hook-scripts/mailer/tests/README.md URL: http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/mailer/tests/README.md?rev=1912387&view=auto ============================================================================== --- subversion/trunk/tools/hook-scripts/mailer/tests/README.md (added) +++ subversion/trunk/tools/hook-scripts/mailer/tests/README.md Mon Sep 18 08:13:36 2023 @@ -0,0 +1,23 @@ +# 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 +```