summaryrefslogtreecommitdiff
path: root/libgo/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-04-05 19:53:33 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-04-05 19:53:33 +0000
commit69dd762a9917160c40c3f5b68eea08599db2db42 (patch)
treecbefd1f7eaf1ba7094728be843dfcc3290853954 /libgo/testsuite
parentc1e2610ec1742ce29883a54dc2dca0080c37bc09 (diff)
gotest: Avoid echo -n.
From-SVN: r172000
Diffstat (limited to 'libgo/testsuite')
-rwxr-xr-xlibgo/testsuite/gotest4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
index abfaaad08f0..650e4333c0b 100755
--- a/libgo/testsuite/gotest
+++ b/libgo/testsuite/gotest
@@ -231,7 +231,7 @@ mkdir _test
case "x$gofiles" in
x)
- gofiles=$(echo -n $(ls *_test.go 2>/dev/null))
+ gofiles=`ls *_test.go 2>/dev/null`
esac
case "x$gofiles" in
@@ -250,7 +250,7 @@ GC="$holdGC"
case "x$pkgfiles" in
x)
- pkgbasefiles=$(echo -n $(ls *.go | grep -v _test.go 2>/dev/null))
+ pkgbasefiles=`ls *.go | grep -v _test.go 2>/dev/null`
;;
*)
for f in $pkgfiles; do