From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga03-in.huawei.com ([45.249.212.189]:8407 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751899AbdF3DRP (ORCPT ); Thu, 29 Jun 2017 23:17:15 -0400 From: "zhangyi (F)" Subject: [xfstest PATCH V2 0/2] overlay/031: add two tests of whiteout check in origin dir Date: Fri, 30 Jun 2017 11:20:09 +0800 Message-ID: <1498792811-17311-1-git-send-email-yi.zhang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Sender: fstests-owner@vger.kernel.org To: fstests@vger.kernel.org Cc: eguan@redhat.com, linux-unionfs@vger.kernel.org, miklos@szeredi.hu, amir73il@gmail.com, yi.zhang@huawei.com, miaoxie@huawei.com List-ID: Add two tests of whiteout check in origin dir, cover other two situations: 1) Lower origined dir have whiteouts; 2) Both upper and lower origined dirs have whiteouts (although this case is pass now, still add this to cover all three kinds of situations). V2: factor out _create_whiteout() helper, test whiteout in the middle layer, fix test failure with inodes index feature. zhangyi (F) (2): overlay/031: factor out _create_whiteout() helper overlay/031: add tests of whiteouts in lowerdir and both dirs tests/overlay/031 | 84 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 64 insertions(+), 20 deletions(-) -- 2.5.0