On 05/21/2018 01:41 PM, Eric Blake wrote:
On 05/21/2018 11:32 AM, Ross Zwisler wrote:
> After a "make check" we end up with the following:
>
> $ git status
> On branch master
> Your branch is up-to-date with 'origin/master'.
>
> Untracked files:
> (use "git add <file>..." to include in what will be committed)
>
> tests/test-block-backend
>
> nothing added to commit but untracked files present (use "git add" to
> track)
>
> Signed-off-by: Ross Zwisler <ross.zwisler(a)linux.intel.com>
> Fixes: commit ad0df3e0fdac ("block: test blk_aio_flush() with
> blk->root == NULL")
> Cc: Kevin Wolf <kwolf(a)redhat.com>
> ---
> tests/.gitignore | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Eric Blake <eblake(a)redhat.com>
>
> diff --git a/tests/.gitignore b/tests/.gitignore
> index fb62d2299b..2bc61a9a58 100644
> --- a/tests/.gitignore
> +++ b/tests/.gitignore
> @@ -21,6 +21,7 @@ test-base64
> test-bdrv-drain
> test-bitops
> test-bitcnt
> +test-block-backend
> test-blockjob
> test-blockjob-txn
> test-bufferiszero
What about using gitignore negated pattern in tests/?