<p>osmith <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/23509">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stats_test: restore stat_item_get_next asserts<br><br>This is a partial revert of b27b352e ("stats: Use a global index for<br>stat item values"). Now that osmo_stat_item_get_next correctly returns<br>how many values have been skipped, we can use the accurate asserts on<br>its return value again.<br><br>Fix the initial values of next_id_a,b (1 instead of 0), so we don't get<br>a skipped value on the first read. This is needed, because b27b352e<br>refactored osmo_stat_item_get_next to have the next id as parameter<br>instead of the last read one, and the initial value was not adjusted in<br>the tests.<br><br>Related: OS#5088<br>Change-Id: I9d4cda2487a62f52361c24058363dfa90e502c63<br>---<br>M tests/stats/stats_test.c<br>1 file changed, 18 insertions(+), 18 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/09/23509/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/23509">change 23509</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/23509"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9d4cda2487a62f52361c24058363dfa90e502c63 </div>
<div style="display:none"> Gerrit-Change-Number: 23509 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>