Re: [PATCH] fstests: make check actually honor expunged list

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Fri, Jul 21, 2023 at 03:48:24PM -0400, Josef Bacik wrote:
> The patch 60054d51 ("check: fix excluded tests are only expunged in the
> first iteration") messed up the logic, if _function will be true if it
> gets 1, so the _expunge_test return values are inverted.  Also it
> appears bash swallows the output in this calling convention, so you
> don't get the 'expunged' output.  I noticed this when my CI system
> stopped honoring my exclude list, this makes everything work properly
> again.
> 
> Fixes: 60054d51 ("check: fix excluded tests are only expunged in the first iteration")
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

So turns out I'm an idiot, this was just working in my simple case where I tried
to run a test that I knew was in the list, but of course it falls apart with
normal stuff.

Turns out the real issue is that we now expect the expunge list to be in the
format of

whatever/1
whatever/2
whatever/3

instead of

whatever/1 whatever/2 whatever/3

maybe we always expected the other way and it just happened to work my way
because we were using grep.

So ignore this patch, but we should probably document the format of the expunge
list files.  Thanks,

Josef



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux