All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amir Goldstein <amir73il@gmail.com>
To: Theodore Ts'o <tytso@mit.edu>
Cc: Eryu Guan <eguan@redhat.com>, Eric Biggers <ebiggers@google.com>,
	fstests@vger.kernel.org
Subject: [PATCH] test-appliance: use new overlay xfstest config
Date: Fri, 19 May 2017 09:51:03 +0300	[thread overview]
Message-ID: <1495176663-2226-1-git-send-email-amir73il@gmail.com> (raw)

requires xfstests commit 33e4199
("overlay: use OVL_BASE_SCRATCH_MNT instead of SCRATCH_DEV")

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
---
 kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large | 8 ++++----
 kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

Ted,

Forgot to post this one in addition to the github PR:
https://github.com/tytso/xfstests-bld/pull/4

Using the new overlay xfstest config is helping catch reference leak
bugs all the time, because it mount cycle the underlying base fs on
every test and within tests that do cycle_mount.

Please pull.

Thanks,
Amir.

diff --git a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large
index ec1adf0..ab9a2bb 100644
--- a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large
+++ b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large
@@ -9,10 +9,10 @@ function format_filesystem()
 }
 
 SIZE=large
-export TEST_DEV=$LG_TST_MNT/ovl
-export TEST_DIR=$LG_TST_MNT/testarea
-export SCRATCH_DEV=$LG_SCR_MNT/ovl
-export SCRATCH_MNT=$LG_SCR_MNT/testarea
+export TEST_DEV=$LG_TST_DEV
+export TEST_DIR=$LG_TST_MNT
+export SCRATCH_DEV=$LG_SCR_DEV
+export SCRATCH_MNT=$LG_SCR_MNT
 export EXT_MOUNT_OPTIONS=""
 TESTNAME="overlayfs large"
 mkdir -p /test/tmp /test/scratch
diff --git a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small
index a28a191..552e302 100644
--- a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small
+++ b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small
@@ -9,10 +9,10 @@ function format_filesystem()
 }
 
 SIZE=small
-export TEST_DEV=$SM_TST_MNT/ovl
-export TEST_DIR=$SM_TST_MNT/testarea
-export SCRATCH_DEV=$SM_SCR_MNT/ovl
-export SCRATCH_MNT=$SM_SCR_MNT/testarea
+export TEST_DEV=$SM_TST_DEV
+export TEST_DIR=$SM_TST_MNT
+export SCRATCH_DEV=$SM_SCR_DEV
+export SCRATCH_MNT=$SM_SCR_MNT
 export EXT_MOUNT_OPTIONS=""
 TESTNAME="overlayfs small"
 mkdir -p /test/tmp /test/scratch
-- 
2.7.4


                 reply	other threads:[~2017-05-19  6:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1495176663-2226-1-git-send-email-amir73il@gmail.com \
    --to=amir73il@gmail.com \
    --cc=ebiggers@google.com \
    --cc=eguan@redhat.com \
    --cc=fstests@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.