@cryptotaxi247 / kubo / commits / 3e41b1590

sharness: Don't escape colors in junit xml

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Mar 22, 2018 at 20:30 UTC 3e41b15906f33b15b509c296cb2d73673b8c6a64
2 files changed +2 -2
test/sharness/lib/0001-Generate-partial-JUnit-reports.patch
+1 -1
@@ -46,7 +46,7 @@ index 6750ff7..7d9915a 100644
46 +esc=$(printf '\033')
47 +
48 +esc_xml() {
49 -+ sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/"/\&quot;/g; s/'"$esc"'/\&#39;/g; s///g;'
49 ++ sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/"/\&quot;/g; s///g;'
50 +}
51 +
52 test -n "$test_description" || error "Test script did not set test_description."
test/sharness/lib/install-sharness.sh
+1 -1
@@ -7,7 +7,7 @@
7
8 # settings
9 version=5eee9b51b5621cec95a64018f0cc779963b230d2
10 -patch_version=6
10 +patch_version=7
11
12 urlprefix=https://github.com/mlafeldt/sharness.git
13 if test ! -n "$clonedir" ; then