test: tolerate ENOMEM on packet mmap creation.
commit4f81d1c1ea15fde62af0a134d86dad18ea75a50d
authorEmmanuel Roullit <emmanuel.roullit@gmail.com>
Thu, 29 Aug 2013 05:57:18 +0000 (29 07:57 +0200)
committerEmmanuel Roullit <emmanuel.roullit@gmail.com>
Thu, 29 Aug 2013 05:57:18 +0000 (29 07:57 +0200)
tree7f072e9a24477e4309489e0307c019a4e2720f64
parent3d50f8ca38e2591568ea2b455636e0616314eac6
test: tolerate ENOMEM on packet mmap creation.

It is not possible to determine beforehand if the packet mmap allocation
will succeed or not. However, even on memory shortage, if must return
the proper error and keep running.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
libdabba/tests/test-packet-mmap.c