aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-10-26 18:36:44 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-10-26 18:36:44 +0000
commit827651b0740936feea4f31d718a2175be128cc42 (patch)
treedd7bdbf0ba1e3128242160a1be70644eae20d685 /libgo
parent075b562c447265d5f89850fd582a710160bf3317 (diff)
downloadgcc-827651b0740936feea4f31d718a2175be128cc42.zip
gcc-827651b0740936feea4f31d718a2175be128cc42.tar.gz
gcc-827651b0740936feea4f31d718a2175be128cc42.tar.bz2
libgo: simplify gotest script to avoid sed substitution to \n
Reviewed-on: https://go-review.googlesource.com/c/145057 From-SVN: r265541
Diffstat (limited to 'libgo')
-rwxr-xr-xlibgo/testsuite/gotest7
1 files changed, 1 insertions, 6 deletions
diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
index a82386a..dba7408 100755
--- a/libgo/testsuite/gotest
+++ b/libgo/testsuite/gotest
@@ -521,13 +521,8 @@ symtogo() {
if ! expr "$s" : '^[^.]*\.[^.]*$' >/dev/null 2>&1; then
continue
fi
- if [ -z "${result}" ]; then
- result="${s}"
- else
- result="${result} ${s}"
- fi
+ echo "$s"
done
- echo "$result" | sed -e 's/ /\n/g'
}
{