diff mbox series

[11/24] overlay/{069,071}: fix undefined variables

Message ID 160013424591.2923511.7236445306723372509.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series fstests: tons of random fixes | expand

Commit Message

Darrick J. Wong Sept. 15, 2020, 1:44 a.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Change OVL_BASE_TEST_MNT -> OVL_BASE_TEST_DIR, since the former is not
actually defined anywhere.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 tests/overlay/069 |    2 +-
 tests/overlay/071 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Amir Goldstein Sept. 15, 2020, 8:48 a.m. UTC | #1
On Tue, Sep 15, 2020 at 4:44 AM Darrick J. Wong <darrick.wong@oracle.com> wrote:
>
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Change OVL_BASE_TEST_MNT -> OVL_BASE_TEST_DIR, since the former is not
> actually defined anywhere.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> ---

Oops...
Thanks for fixing this.

Reviewed-by: Amir Goldstein <amir73il@gmail.com>
diff mbox series

Patch

diff --git a/tests/overlay/069 b/tests/overlay/069
index 77dfce63..f7eaec2d 100755
--- a/tests/overlay/069
+++ b/tests/overlay/069
@@ -53,7 +53,7 @@  _require_test_program "open_by_handle"
 _require_scratch_overlay_features index nfs_export redirect_dir
 
 # Lower overlay lower layer is on test fs, upper is on scratch fs
-lower=$OVL_BASE_TEST_MNT/$OVL_LOWER-$seq
+lower=$OVL_BASE_TEST_DIR/$OVL_LOWER-$seq
 upper=$OVL_BASE_SCRATCH_MNT/$OVL_UPPER
 work=$OVL_BASE_SCRATCH_MNT/$OVL_WORK
 
diff --git a/tests/overlay/071 b/tests/overlay/071
index e083c29d..043fc4d3 100755
--- a/tests/overlay/071
+++ b/tests/overlay/071
@@ -56,7 +56,7 @@  _require_scratch_overlay_features index nfs_export redirect_dir
 _require_loop
 
 # Lower overlay lower layer is on test fs, upper is on scratch fs
-lower=$OVL_BASE_TEST_MNT/$OVL_LOWER-$seq
+lower=$OVL_BASE_TEST_DIR/$OVL_LOWER-$seq
 upper=$OVL_BASE_SCRATCH_MNT/$OVL_UPPER
 work=$OVL_BASE_SCRATCH_MNT/$OVL_WORK
 # Lower dir of nested overlay is the scratch overlay mount at SCRATCH_MNT