Re: [PATCH 2/2] kfifo: add kfifo_skip() testcase

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Thursday, August 12, 2010 - 2:22 pm

On Thu, 12 Aug 2010 17:32:38 +0200
Andrea Righi <arighi@develer.com> wrote:


hm, that's not a very good test harness.  A better one would check that
the resulting kfifo actually contains the expected items in the
expected order.  AFACIT this will "pass" even if kfifo_skip() is a
no-op, or execs nethack or something.

Oh well, it's more than we usually get.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] kfifo: implement missing __kfifo_skip_r(), Andrea Righi, (Thu Aug 12, 8:32 am)
[PATCH 2/2] kfifo: add kfifo_skip() testcase, Andrea Righi, (Thu Aug 12, 8:32 am)
Re: [PATCH 1/2] kfifo: implement missing __kfifo_skip_r(), Stefani Seibold, (Thu Aug 12, 1:45 pm)
Re: [PATCH 2/2] kfifo: add kfifo_skip() testcase, Stefani Seibold, (Thu Aug 12, 1:46 pm)
Re: [PATCH 2/2] kfifo: add kfifo_skip() testcase, Andrew Morton, (Thu Aug 12, 2:22 pm)
Re: [PATCH 2/2] kfifo: add kfifo_skip() testcase, Andrea Righi, (Thu Aug 12, 3:28 pm)