Spdk/test
Daniel Verkamp 0d6f812c8f test/event/subsystem: ensure i stays in range
Assert that the number of subsystems doesn't become negative in
subsystem_sort_test_depends_on_single().

This also fixes a GCC 7 warning about a possible snprintf() truncation
now that the range of i is known to be [1,4].

Change-Id: Idaf8ceab149ff5d786f614f790a8706cae759d38
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/363496
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-06-02 19:49:43 -04:00
..
app test/app/stub: create sentinel file when init complete 2017-05-26 12:14:19 -04:00
blobfs/rocksdb test/blobfs: use test stub 2017-05-25 16:55:03 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi_tgt/ext4test: update for DPDK submodule 2017-06-02 12:04:30 -04:00
lib test/event/subsystem: ensure i stays in range 2017-06-02 19:49:43 -04:00
nvmf test/nvmf: use stub application 2017-05-30 17:59:44 -04:00
vhost vhost: added rpc commands to remove vhost controllers and devices 2017-05-18 01:01:46 -07:00
Makefile app/stub: add a stub application to accelerate startup 2017-05-25 13:52:09 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00