Fix testsuite with /bin/sh being bash

With bash, echo "a\nb" will not interpret \n, while with dash, echo will
interpret \n. bash's echo would need -e, but dash does not know that
option and just prints it.

We can however just put \n litteraly in the script, both bash and dash
will understand it.
This commit is contained in:
Samuel Thibault
2020-01-04 15:27:49 +01:00
parent ee92524af8
commit 171e8a4e09
2 changed files with 195 additions and 62 deletions
+5 -1
View File
@@ -43,7 +43,11 @@ test_phonemes en-GB-x-gbcwmd "aI 'av" "I have"
# A deleted phonSWITCH should preserve the sourceix property of the deleted phoneme.
test_phonemes hyw "'a g@rn'am" "A Կրնամ"
test_phonemes en "'eI\nb'i: s'i:\nd'i:\n'i:\n'Ef" "A. B C, D. E: F."
test_phonemes en "'eI
b'i: s'i:
d'i:
'i:
'Ef" "A. B C, D. E: F."
#----- Emoji [http://www.unicode.org/reports/tr51/tr51-12.html] -----