Set errcnt and warncnt to 0 in run_host_cmd_yesno
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 26 Jul 2015 18:55:57 +0000 (11:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 26 Jul 2015 18:55:57 +0000 (11:55 -0700)
commitd76b6207439e16b98aa04f38b730376257b31a62
treeee6e803d3ac76c0a0364200e91cae366ab39890a
parentab3b14b04b35e4e9ee8bd8cdb38ef888f0922da5
Set errcnt and warncnt to 0 in run_host_cmd_yesno

run_host_cmd_yesno should set errcnt and warncnt to 0.  Otherwise, they
may leak to the next run.

* lib/ld-lib.exp (run_host_cmd_yesno): Set errcnt and warncnt
to 0.
ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp