Author: gstein
Date: Sat May 11 17:53:49 2024
New Revision: 1917672
URL: http://svn.apache.org/viewvc?rev=1917672&view=rev
Log:
No idea why dos2unix is needed.
Note that mailer-t1.sh is a shell script. This doesn't run on a
DOS/Windows machine. Thus, the output from the test (.current) does
not need any conversion.
Remove the dos2unix step, and update the doc.
* tools/hook-scripts/mailer/tests/mailer-t1.sh: remove dos2unix
* tools/hook-scripts/mailer/tests/README.md: update docco
Modified:
subversion/trunk/tools/hook-scripts/mailer/tests/README.md
subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh
Modified: 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=1917672&r1=1917671&r2=1917672&view=diff
==============================================================================
--- subversion/trunk/tools/hook-scripts/mailer/tests/README.md (original)
+++ subversion/trunk/tools/hook-scripts/mailer/tests/README.md Sat May 11
17:53:49 2024
@@ -1,12 +1,5 @@
# Setup
-The `dos2unix` program is needed:
-
-```
-$ sudo apt install dos2unix
-```
-
-
Prepare a repository for use with testing:
```
@@ -21,3 +14,13 @@ You can now run the test using:
```
$ ./mailer-t1.sh mailer-init.12345/repos/ ../mailer.py
```
+
+----
+
+TBD: discuss mailer-t2.sh
+
+----
+
+TBD: discuss mailer-t3.py
+
+----
Modified: subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh
URL:
http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh?rev=1917672&r1=1917671&r2=1917672&view=diff
==============================================================================
--- subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh (original)
+++ subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh Sat May 11
17:53:49 2024
@@ -54,7 +54,5 @@ done
echo "current mailer.py output in: $glom"
-dos2unix $glom
-
echo diff -q $orig $glom
diff -q $orig $glom && echo "SUCCESS: no differences detected"