Add stats unit test

Add a simple stats unit test that tests the existing library functions
isc_stats_ncounters, isc_stats_increment, isc_stats_decrement,
isc_stats_set, and isc_stats_update_if_greater.
This commit is contained in:
Matthijs Mekking
2021-08-19 12:14:21 +02:00
parent 042d206bf4
commit 0bac9c7c5c
4 changed files with 129 additions and 5 deletions

View File

@@ -5,10 +5,10 @@ perl util/merge_copyrights
diff util/copyrights util/newcopyrights
... examine output, particularly any files with the "?" type, and
... then edit util/newcopyrights if necessary
$ mv util/newcopyrights util/copyrights
$ perl util/update_copyrights < util/copyrights
$ git diff
mv util/newcopyrights util/copyrights
perl util/update_copyrights < util/copyrights
git diff
... examine output, edit as necessary. mail me about anything that
... the script should have been able to do itself. :-)
$ git add util/copyrights
$ git commit -m 'update_copyrights'
git add util/copyrights
git commit -m 'update_copyrights'