diff options
Diffstat (limited to 'libgo')
-rwxr-xr-x | libgo/testsuite/gotest | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest index 4293db9..6929de3 100755 --- a/libgo/testsuite/gotest +++ b/libgo/testsuite/gotest @@ -538,8 +538,7 @@ symtogo() { # Takes an example name and puts any output into the file example.txt. # It strips comment markers but does not otherwise change the output. exampleoutput() { - local n=$(testname $1) - local f + n=$(testname $1) for f in $gofiles $xgofiles; do if ! grep "^func $n(" $f >/dev/null 2>&1; then continue |