Author: astieger
Date: Thu Nov 20 19:44:10 2014
New Revision: 1640795

URL: http://svn.apache.org/r1640795
Log:
Remove bashism in mailer.py test suite

* mailer/tests/mailer-init.sh
  Change echo -e to more portable printf

Patch by: Oleksandr Chumachenko <[email protected]>
Approved by: philip

Modified:
    subversion/trunk/tools/hook-scripts/mailer/tests/mailer-init.sh

Modified: subversion/trunk/tools/hook-scripts/mailer/tests/mailer-init.sh
URL: 
http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/mailer/tests/mailer-init.sh?rev=1640795&r1=1640794&r2=1640795&view=diff
==============================================================================
--- subversion/trunk/tools/hook-scripts/mailer/tests/mailer-init.sh (original)
+++ subversion/trunk/tools/hook-scripts/mailer/tests/mailer-init.sh Thu Nov 20 
19:44:10 2014
@@ -101,14 +101,14 @@ echo change C6 >> dir6/file4
 svn commit -m "copy dir, then make a change"
 
 # add a binary file and set property to binary value
-echo -e "\x00\x01\x02\x03\x04" > file11
+printf "\x00\x01\x02\x03\x04\n" > file11
 svn add file11
 svn ps svn:mime-type application/octect-stream file11
 svn ps prop2 -F file11 file9 
 svn commit -m "add binary file"
 
 # change the binary file and set property to non binary value
-echo -e "\x20\x01\x02\x20" > file11
+printf "\x20\x01\x02\x20\n" > file11
 svn ps prop2 propval2 file9 
 svn commit -m "change binary file"
 


Reply via email to