lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 20 Oct 2015 15:24:29 +0200 (CEST)
From:	Paul Osmialowski <p.osmialowsk@...sung.com>
To:	Shuah Khan <shuahkh@....samsung.com>
Cc:	Jonathan Corbet <corbet@....net>, Arnd Bergmann <arnd@...db.de>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Petr Mladek <pmladek@...e.cz>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Daniel Mack <daniel@...que.org>,
	Kay Sievers <kay.sievers@...y.org>,
	Joe Perches <joe@...ches.com>, Tejun Heo <tj@...nel.org>,
	linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
	linux-api@...r.kernel.org,
	Richard Weinberger <richard.weinberger@...il.com>,
	Marcin Niesluchowski <m.niesluchow@...sung.com>,
	Karol Lewandowski <k.lewandowsk@...sung.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
	Paul Osmialowski <p.osmialowsk@...sung.com>
Subject: Re: [RFC v4 9/9] kmsg: selftests

Hi Shuah,

I'm attaching proposal version which makes use of inline 
functions from kselftest.h. I hope you'll like it.

Thanks,
Paul

On Tue, 20 Oct 2015, Paul Osmialowski wrote:

> Hi Shuah,
>
> Thanks for your comments,
>
> On Mon, 19 Oct 2015, Shuah Khan wrote:
>
>>> --- a/tools/testing/selftests/Makefile
>>> +++ b/tools/testing/selftests/Makefile
>>> @@ -7,6 +7,7 @@ TARGETS += ftrace
>>>  TARGETS += futex
>>>  TARGETS += kcmp
>>>  TARGETS += kdbus
>> 
>> Doesn't look like this patch is based on linux-kselftest next
>> or Linus's latest. Please base your work on either one of the
>> above. Please make sure "make kselftest" from top level Makefile
>> doesn't break.
>> 
>>> +TARGETS += kmsg
>
> Any guidelines what such test should be implemented (apart from use of 
> kselftest.h API)?
>
>>> +kmsg-test: $(OBJS)
>>> +	$(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
>>> +
>>> +run_tests:
>>> +	./kmsg-test --tap
>> 
>> What does --tap do? Is this a longform option?
>> I don't see it in usage()
>> 
>
> Should be removed - I copy-pasted parts of kdbus selftests Makefile not 
> noticing that.
>
> Best regards,
> Paul
>
>
View attachment "0009-kmsg-selftests.patch" of type "TEXT/x-diff" (27813 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ