linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: "Gix, Brian" <brian.gix@intel.com>
Cc: "linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>,
	"Stotland, Inga" <inga.stotland@intel.com>
Subject: Re: [PATCH BlueZ v2] unit: Add Mesh Crypto tests from Mesh Profile Spec
Date: Wed, 9 Oct 2019 17:59:08 +0300	[thread overview]
Message-ID: <CABBYNZJ1L6ZaMe-Vf97jc=NxBEHwAs4gOGMQX_THJ-++w7Rnvg@mail.gmail.com> (raw)
In-Reply-To: <e9d186c8d89be278252ddfe3982602be984f3c14.camel@intel.com>

Hi Brian,

On Sat, Oct 5, 2019 at 7:17 PM Gix, Brian <brian.gix@intel.com> wrote:
>
> Applied
>
> On Thu, 2019-10-03 at 13:44 -0700, Brian Gix wrote:
> > This unit test will be grown over time to include tests formed from the
> > sample data in the Bluetooth Mesh Profile specification (Currently at
> > version v1.0.1).
> >
> > Currently it includes test cases for the following sets of sample data:
> > Sections 8.1.1-6
> > Sections 8.2.1-6
> > Sections 8.3.1-11
> > Section 8.4.3
> > Section 8.6.2
> > ---
> >  Makefile.am             |   10 +
> >  unit/test-mesh-crypto.c | 2000 +++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 2010 insertions(+)
> >  create mode 100644 unit/test-mesh-crypto.c
> >

make test is failing on this one:

==25559== 8 bytes in 1 blocks are definitely lost in loss record 1 of 4
==25559==    at 0x483880B: malloc (vg_replace_malloc.c:309)
==25559==    by 0x11FB25: l_malloc (util.c:62)
==25559==    by 0x120232: l_util_from_hexstring (util.c:427)
==25559==    by 0x118069: check_id_beacon (test-mesh-crypto.c:1709)
==25559==    by 0x118069: main (test-mesh-crypto.c:1997)

Btw usually the test are using the tester framework and it should be
possible to integrate with that but that probably need some work to
make you able to run with ell mainloop.




--
Luiz Augusto von Dentz

  reply	other threads:[~2019-10-09 14:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 20:44 [PATCH BlueZ v2] unit: Add Mesh Crypto tests from Mesh Profile Spec Brian Gix
2019-10-05 16:12 ` Gix, Brian
2019-10-09 14:59   ` Luiz Augusto von Dentz [this message]
2019-10-09 16:01     ` Gix, Brian
2019-10-11 13:07       ` Luiz Augusto von Dentz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABBYNZJ1L6ZaMe-Vf97jc=NxBEHwAs4gOGMQX_THJ-++w7Rnvg@mail.gmail.com' \
    --to=luiz.dentz@gmail.com \
    --cc=brian.gix@intel.com \
    --cc=inga.stotland@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).