[Crosstoolchain-logs] [device-tree-compiler] 329/357: Don't use echo -e in run_tests.sh
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:06:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit f2f6d0f2f02b4713e9d0cdc840e211535689a2e6
Author: David Gibson <david at gibson.dropbear.id.au>
Date: Thu Nov 12 11:56:34 2009 +1100
Don't use echo -e in run_tests.sh
In one section, the run_tests script attempts to use the -e (interpret
escapes) option to echo. This option is not portable - for example
the echo built into dash, now the default /bin/sh on several
distributions does not support it and will just echo "-e" literally.
Since we don't actually use any of the escapes that -e enables, this
patch simply removes it.
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
tests/run_tests.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 8e57cf5..db413a1 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -339,14 +339,14 @@ for set in $TESTSETS; do
esac
done
-echo -e "********** TEST SUMMARY"
-echo -e "* Total testcases: $tot_tests"
-echo -e "* PASS: $tot_pass"
-echo -e "* FAIL: $tot_fail"
-echo -e "* Bad configuration: $tot_config"
+echo "********** TEST SUMMARY"
+echo "* Total testcases: $tot_tests"
+echo "* PASS: $tot_pass"
+echo "* FAIL: $tot_fail"
+echo "* Bad configuration: $tot_config"
if [ -n "$VALGRIND" ]; then
- echo -e "* valgrind errors: $tot_vg"
+ echo "* valgrind errors: $tot_vg"
fi
-echo -e "* Strange test result: $tot_strange"
-echo -e "**********"
+echo "* Strange test result: $tot_strange"
+echo "**********"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list