test: fix to eliminate error message "tr: warning: an unescaped backslash at end of string is not portable"

This commit is contained in:
Robin Mills 2013-01-17 02:32:13 +00:00
parent 73f7415c12
commit 328fd1f003

View File

@ -72,7 +72,7 @@ copyTestFiles()
# result analysis
reportTest()
{
cat $results | tr \\ / > ${results}-new
cat $results | tr '\\' '/' > ${results}-new
mv -f ${results}-new $results
if [ ! -z `which dos2unix` ]; then
unix2dos $results >/dev/null 2>&1