From: ian Date: Fri, 26 Oct 2018 18:36:44 +0000 (+0000) Subject: libgo: simplify gotest script to avoid sed substitution to \n X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d793b82d9b62a7179c3257ce0c9e357f65325f6d;p=thirdparty%2Fgcc.git libgo: simplify gotest script to avoid sed substitution to \n Reviewed-on: https://go-review.googlesource.com/c/145057 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265541 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index f56ac802ad08..bf2b28f1bc6d 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -9785e5c4e868ba55efdb33fc51872b4821770167 +8902fb43c569e4d3ec5bd143bfa8cb6bf2836780 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest index a82386aab3a7..dba7408a07cf 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' } {