1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:34:41 -07:00
go/test/fixedbugs
Vinu Rajashekhar 89192ce4fe test/fixedbugs/bug243.go: instead of closing stdout,
remove the print statements.

This change is because of the port of gccgo to RTEMS.
These tests use the GCC DejaGNU framework. In some cases,
the tests need to be run on qemu where the status code
cannot be sent back to DejaGNU, so it prints the exit status
by putting a wrapper around the exit and abort calls.

This testcase closes the stdout, and hence prohibits DejaGNU
from knowing the status in such cases, and causes this test
to be wrongly declared as a failure.

R=rsc, iant
CC=golang-dev
https://golang.org/cl/1792042
2010-07-12 13:17:32 -07:00
..
bug083.dir use errchk in more places. 2009-07-30 16:46:14 -07:00
bug088.dir fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug106.dir unused imports 2009-09-17 10:27:04 -07:00
bug133.dir unused imports 2009-09-17 10:27:04 -07:00
bug160.dir add ./ to imports where necessary 2009-06-25 20:13:56 -07:00
bug191.dir unused imports 2009-09-17 10:27:04 -07:00
bug222.dir gc: minor import grammar bug fixes 2009-12-03 00:10:32 -08:00
bug226.dir gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bug248.dir gc: new typechecking rules 2010-06-08 18:50:02 -07:00
bug282.dir gc: fix shift/reduce conflict in go.y export syntax 2010-05-24 16:55:23 -07:00
bug000.go check in the bugs and fixed bugs 2008-06-06 16:56:18 -07:00
bug001.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug002.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug003.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug004.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug005.go check in the bugs and fixed bugs 2008-06-06 16:56:18 -07:00
bug006.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug007.go delete export 2009-01-20 14:40:40 -08:00
bug008.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug009.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug010.go update tests 2008-07-28 10:22:49 -07:00
bug011.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug012.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug013.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug014.go Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
bug015.go Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
bug016.go - updated test cases to latest compiler changes 2008-08-29 13:21:00 -07:00
bug017.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug020.go bug020 is fixed 2009-01-06 13:44:44 -08:00
bug021.go check in the bugs and fixed bugs 2008-06-06 16:56:18 -07:00
bug022.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug023.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug024.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug026.go delete export 2009-01-20 14:40:40 -08:00
bug027.go insert type assertions when narrowing. 2009-02-11 17:55:16 -08:00
bug028.go delete export 2009-01-20 14:40:40 -08:00
bug030.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug031.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug035.go delay := processing 2009-08-05 00:42:44 -07:00
bug036.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug037.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug038.go new new & make 2009-01-06 15:19:02 -08:00
bug039.go gc: make sure main.main has correct type 2010-04-11 14:51:35 -07:00
bug040.go update some tests 2008-06-23 17:13:33 -07:00
bug045.go code changes for array conversion. 2009-04-15 20:27:45 -07:00
bug046.go delete export 2009-01-20 14:40:40 -08:00
bug047.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug048.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug049.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug050.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug051.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug052.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug053.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug054.go insert type assertions when narrowing. 2009-02-11 17:55:16 -08:00
bug055.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug056.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug057.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug058.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug059.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug060.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug061.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug062.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug063.go update tests 2008-07-27 13:50:54 -07:00
bug064.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug065.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug066.go delete forward type declarations 2009-08-12 14:40:47 -07:00
bug067.go new new & make 2009-01-06 15:19:02 -08:00
bug068.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug069.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug070.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug071.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug072.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug073.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug074.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug075.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug076.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug077.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug078.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
bug080.go do not insert implicit "return;" in empty function body 2009-07-27 14:36:32 -07:00
bug081.go extend composite literal test. 2008-09-04 13:35:19 -07:00
bug082.go single argument panic 2010-03-30 10:34:57 -07:00
bug083.go This bug has been fixed; moving it from bugs to fixedbugs. 2008-11-12 21:59:43 -08:00
bug084.go single argument panic 2010-03-30 10:34:57 -07:00
bug085.go convert non-pkg go files to whole-package compilation. 2009-08-12 13:18:54 -07:00
bug086.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug087.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug088.go compiler changes: 2008-09-22 12:45:01 -07:00
bug089.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug090.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
bug091.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug092.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug093.go delete export 2009-01-20 14:40:40 -08:00
bug094.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug096.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug097.go single argument panic 2010-03-30 10:34:57 -07:00
bug098.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug099.go delete export 2009-01-20 14:40:40 -08:00
bug101.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
bug102.go misc cleanup: gofmt + &x -> x[0:] conversion 2010-06-08 17:51:57 -07:00
bug103.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug104.go test update 2008-12-12 13:29:25 -08:00
bug106.go update fixed bugs (and delete an irrelevant one) 2008-10-17 11:48:51 -07:00
bug107.go unused imports 2009-09-17 10:27:04 -07:00
bug108.go warn -> yyerror in mparith. 2009-03-12 19:57:30 -07:00
bug109.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug110.go single argument panic 2010-03-30 10:34:57 -07:00
bug111.go delete export 2009-01-20 14:40:40 -08:00
bug112.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
bug113.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug114.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug115.go ^ type(const) now inverts "enough" bits 2009-03-24 16:40:38 -07:00
bug116.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug117.go single argument panic 2010-03-30 10:34:57 -07:00
bug118.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug119.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug120.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug121.go Match gccgo error messages. 2010-02-04 21:31:30 -08:00
bug122.go canonicalize bug122.go 2009-06-22 14:40:08 -07:00
bug123.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug126.go update tests: nil is no longer integer-compatible 2008-12-10 13:55:47 -08:00
bug127.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug128.go bug128 is fixed 2008-12-04 20:51:47 -08:00
bug129.go unused imports 2009-09-17 10:27:04 -07:00
bug130.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug131.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug132.go cleaning up bug132 2009-11-02 09:42:53 -08:00
bug133.go bug133 2009-01-26 16:57:24 -08:00
bug135.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug136.go bug136 2009-10-19 20:39:18 -07:00
bug137.go bug 137 2009-03-11 16:25:45 -07:00
bug139.go bug 139 2009-04-28 13:52:56 -07:00
bug140.go bug140 is fixed 2009-06-06 19:28:01 -07:00
bug141.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug142.go bug142 is fixed 2009-04-10 17:58:10 -07:00
bug143.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug144.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug145.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug146.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug147.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug148.go move bug148, already fixed, to fixedbugs 2009-07-27 17:32:02 -07:00
bug149.go bug 149 2009-05-29 13:44:30 -07:00
bug150.go bug150 is fixed 2009-05-26 16:06:03 -07:00
bug151.go bug151, bug152 -> fixedbugs 2009-05-26 21:11:43 -07:00
bug152.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug154.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug155.go bug 155 2009-05-29 14:42:24 -07:00
bug156.go bug 156 2009-05-29 15:34:47 -07:00
bug157.go bug157 2009-05-30 21:18:15 -07:00
bug158.go bug 158 2009-05-30 17:06:51 -07:00
bug159.go bug159 2009-08-07 16:47:54 -07:00
bug160.go 5l, 6l, 8l: accept only one object file 2010-01-25 17:53:43 -08:00
bug161.go bug161, fixed 2009-06-04 16:18:13 -07:00
bug163.go unused imports 2009-09-17 10:27:04 -07:00
bug164.go bug163 bug164 bug166 2009-06-29 17:46:22 -07:00
bug165.go Match gccgo error messages. 2009-08-17 17:40:52 -07:00
bug167.go bug167 2009-07-07 11:48:22 -07:00
bug168.go single argument panic 2010-03-30 10:34:57 -07:00
bug169.go bug169 2009-10-19 19:55:17 -07:00
bug170.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
bug171.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug172.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug173.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug174.go print(1<<x) 2009-07-27 16:17:09 -07:00
bug175.go multiple return in := bug 2009-07-27 16:59:10 -07:00
bug176.go constant keys for array initializers 2009-07-27 17:58:25 -07:00
bug177.go unused imports 2009-09-17 10:27:04 -07:00
bug178.go break and continue fixes 2009-07-29 14:49:01 -07:00
bug179.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug180.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug181.go bug181 - type T *struct { T } is an invalid embedded type 2009-08-07 13:14:01 -07:00
bug182.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug183.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug184.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug185.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug186.go defining package block names must override 2009-09-09 01:01:39 -07:00
bug187.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug188.go unused imports 2009-09-17 10:27:04 -07:00
bug189.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug190.go bug190. 2009-10-19 18:47:37 -07:00
bug191.go unused imports 2009-09-17 10:27:04 -07:00
bug192.go Match gccgo error messages. 2009-08-24 15:56:39 -07:00
bug193.go address bug193 and add note to spec about it. 2009-10-20 08:27:14 -07:00
bug194.go single argument panic 2010-03-30 10:34:57 -07:00
bug195.go gc: undo attempt at fixing recursive interface embedding 2010-02-16 17:44:15 -08:00
bug196.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug197.go Match gccgo error messages. 2009-08-31 21:39:08 -07:00
bug198.go add & fix bug208, from ken. 2009-10-08 23:03:34 -07:00
bug199.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug200.go type switch bug involving function parameter names 2009-09-01 18:04:49 -07:00
bug201.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug202.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug203.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug204.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug205.go Match gccgo error messages. 2009-10-21 11:42:09 -07:00
bug206.go fix bug206. 2009-09-10 17:33:01 -07:00
bug207.go add & fix bug207: rewritten if condition 2009-10-07 22:19:42 -07:00
bug208.go gc: handle use of builtin function outside function call 2010-05-20 22:57:08 -07:00
bug209.go bug209 2009-10-09 16:01:32 -07:00
bug211.go 6g bug fixes: 2009-10-19 19:27:40 -07:00
bug212.go bug212, bug213. 2009-11-08 23:22:06 -08:00
bug213.go bug212, bug213. 2009-11-08 23:22:06 -08:00
bug214.go gc: five bug fixes, one better error. 2009-11-15 12:57:09 -08:00
bug215.go Tweak test to work with both 6g and gccgo. 2009-12-15 13:57:24 -08:00
bug216.go gc: five bug fixes, one better error. 2009-11-15 12:57:09 -08:00
bug217.go gc: five bug fixes, one better error. 2009-11-15 12:57:09 -08:00
bug218.go gc: handle _ = <-c in select. 2009-12-03 01:30:19 -08:00
bug219.go gc: bug219, bug239, bug240 2010-01-07 23:24:48 -08:00
bug220.go gc: correct type check for x, ok map assignment 2009-11-24 16:11:48 -08:00
bug221.go single argument panic 2010-03-30 10:34:57 -07:00
bug222.go gc: minor import grammar bug fixes 2009-12-03 00:10:32 -08:00
bug223.go gc: better diagnosis of initialization loops 2009-12-03 00:51:03 -08:00
bug224.go gc: recursive type error 2009-12-03 01:12:02 -08:00
bug225.go gc: handle _ = <-c in select. 2009-12-03 01:30:19 -08:00
bug226.go gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bug227.go single argument panic 2010-03-30 10:34:57 -07:00
bug228.go remove uses of ... from tree, add one test 2010-06-14 11:23:11 -07:00
bug229.go gc: bug fixes. 2009-12-15 16:22:04 -08:00
bug230.go gc: bug fixes. 2009-12-15 16:22:04 -08:00
bug231.go Match gccgo error message. 2010-01-30 11:31:06 -08:00
bug232.go remove uses of ... from tree, add one test 2010-06-14 11:23:11 -07:00
bug233.go gc: fix import name resolution 2009-12-15 16:44:28 -08:00
bug234.go single argument panic 2010-03-30 10:34:57 -07:00
bug235.go gc: fix compiler crash 2009-12-17 15:08:55 -08:00
bug236.go More evaluation order tests, for global variables and switch. 2009-12-18 21:59:47 -08:00
bug237.go Add a test for issue 337. 2009-12-23 22:08:27 -08:00
bug238.go Match gccgo error messages. 2010-01-30 11:38:06 -08:00
bug239.go gc: bug219, bug239, bug240 2010-01-07 23:24:48 -08:00
bug240.go gc: bug219, bug239, bug240 2010-01-07 23:24:48 -08:00
bug241.go gc: bug241 2010-01-07 23:20:00 -08:00
bug242.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug243.go test/fixedbugs/bug243.go: instead of closing stdout, 2010-07-12 13:17:32 -07:00
bug244.go single argument panic 2010-03-30 10:34:57 -07:00
bug245.go gc: bug245 2010-01-18 17:30:15 -08:00
bug246.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug247.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug248.go runtime, type switch: eliminate package global name space assumption 2010-01-25 18:23:20 -08:00
bug249.go Match gccgo error messages. 2010-02-01 23:27:33 -08:00
bug250.go gc: recursive interface embedding 2010-02-18 11:15:36 -08:00
bug251.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
bug252.go remove uses of ... from tree, add one test 2010-06-14 11:23:11 -07:00
bug253.go single argument panic 2010-03-30 10:34:57 -07:00
bug254.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
bug255.go gc: diagnose invalid array bounds 2010-02-12 13:59:02 -08:00
bug256.go gc: undo attempt at fixing recursive interface embedding 2010-02-16 17:44:15 -08:00
bug257.go gc: test & fix handling of very long string constants 2010-02-16 10:16:24 -08:00
bug258.go 8g: respect ullman numbers in float comparison 2010-02-17 15:28:45 -08:00
bug259.go 8g: make a[byte(x)] truncate x 2010-02-26 13:15:29 -08:00
bug261.go 5g/6g/8g: fix double function call in slice 2010-03-08 14:19:28 -08:00
bug262.go single argument panic 2010-03-30 10:34:57 -07:00
bug263.go gc: tests omitted from the last bug fix 2010-03-24 22:12:59 -07:00
bug264.go gc: bug264 2010-05-03 17:51:48 -07:00
bug265.go gc: bug265 2010-03-29 15:27:59 -07:00
bug266.go gc: zero unnamed return values on entry if func has defer 2010-04-12 14:28:27 -07:00
bug267.go gc: bug267 2010-05-03 15:29:59 -07:00
bug268.go gc: bug268 2010-04-29 15:52:27 -07:00
bug269.go gc: never include ( ) on singleton func return type 2010-04-29 16:07:14 -07:00
bug270.go gc: bug270 2010-04-30 13:04:16 -07:00
bug271.go gc: bug271 2010-04-30 13:27:08 -07:00
bug272.go 8g: bug272 2010-04-30 14:04:34 -07:00
bug273.go gc: be pickier about slice, chan, array, and map sizes 2010-05-01 13:15:42 -07:00
bug275.go clean up bug 275 2010-05-20 21:01:59 -07:00
bug276.go issue 789: keep test case 2010-05-21 14:53:54 -07:00
bug277.go gc: bug277 - new conversion syntax 2010-05-24 15:25:30 -07:00
bug278.go gc: bug278 2010-05-24 14:22:54 -07:00
bug279.go gc: fix unsafe.Sizeof on ideal constants 2010-05-24 14:18:15 -07:00
bug280.go gc: bug280 2010-05-24 15:25:09 -07:00
bug281.go gc: bug281 - bad overlap in stack copy 2010-05-24 16:54:24 -07:00
bug282.go gc: fix shift/reduce conflict in go.y export syntax 2010-05-24 16:55:23 -07:00
bug283.go 8g: out of register bug 2010-05-24 17:22:51 -07:00
bug284.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
bug285.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
bug287.go 8g: out of register bug fix 2010-06-30 20:45:50 -07:00
bug288.go 8g: out of register bug fix 2010-06-30 20:45:50 -07:00
bug289.go Test case that gccgo fails (crashes rather than printing error). 2010-07-12 06:34:36 -07:00