summaryrefslogtreecommitdiff
path: root/libgo/testsuite
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-05 19:53:33 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-05 19:53:33 +0000
commite762778ffbd47e10039fe68a17a87649f824590e (patch)
treecbefd1f7eaf1ba7094728be843dfcc3290853954 /libgo/testsuite
parent748fd7172ae3bdf6d2e49dabdf0498abfd8bff23 (diff)
downloadgcc-e762778ffbd47e10039fe68a17a87649f824590e.tar.gz
gotest: Avoid echo -n.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172000 138bc75d-0d04-0410-961f-82ee72b054a4
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