aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-22 17:09:52 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-22 17:09:52 +0000
commit1b10edb79b2dc27cf96d8264d0aeec58e567caf6 (patch)
tree368700998ea792aa78cde817c173cfd58eb1691d /contrib
parent10e821a86da69970349bdaf25235a8e6c6cec382 (diff)
Prevent multiple runs of event_sub_test from producing false failure results.
The array of test subscriptions was declared "static," meaning that the data.count field would retain its value between runs of the test. After the first test run, this would result in false reports of test failures. I chose to just remove the "static" keyword from the structure since it's not a huge deal to construct this structure during each run of the test. Another alternative would have been to zero out the data.count fields of each test subscription instead. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292741 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions