#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020 CTERA Networks. All Rights Reserved.
#
# FS QA Test 103
#
# Run unionmount testsuite to verify correctness
# with multi lower layers on same fs as upper
#
. ./common/preamble
_begin_fstest auto union rotate samefs

_register_cleanup "_unionmount_testsuite_cleanup"

# Import common functions.
. ./common/filter


_require_scratch
_require_unionmount_testsuite

_unionmount_testsuite_run --ov=10 --samefs --verify

# success, all done
echo "Silence is golden"
status=0
exit
