]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: track number of descriptors instead of their state
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Fri, 4 Jan 2019 21:41:33 +0000 (23:41 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 4 Jan 2019 22:39:39 +0000 (14:39 -0800)
commitb7cd0fdab0c172c155af9fc6d0e6e95e28b89364
treedb4b5b0f109b2795cda2fe02f14c5502601e8bcd
parentad411f7684c50c18e55e9d7885cfc998113beb79
testsuite: track number of descriptors instead of their state

use the number of tracked descriptors to determine the end of the
loop.

This is a preparation for more abstract descriptor comparation
implementation where checking of the descriptor state may be more
expensive than just checking of the local variables.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
testsuite/testsuite.c