tcp: unittest: do not access non-existent samples 69/22669/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 30 Sep 2019 10:56:28 +0000 (12:56 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 11 Oct 2019 14:41:20 +0000 (14:41 +0000)
commit23afd57095dd279255de4679b0533d3d588f0e74
tree61d5b9af117073c44124fbba4bf7bd672cb949be
parentd5b7840245cb39a6a031e7d4f7bc04f2afb049a0
tcp: unittest: do not access non-existent samples

There is no bt->samples for this test, do not use it.

Type: fix

Change-Id: I2090290887bc5c0b5cdb0561cf2bf72a87781089
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit b0a7c484eec9a813751e6e3fa71a9955ad5f0f74)
src/plugins/unittest/tcp_test.c