#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020 CTERA Networks. All Rights Reserved.
#
# FS QA Test 109
#
# Run unionmount testsuite to verify correctness
# with multi lower layers, all layers on unique fs,
# some layers are on tmpfs with xino enabled.
#
. ./common/preamble
_begin_fstest auto union rotate nonsamefs xino

_register_cleanup "_unionmount_testsuite_cleanup"

# Import common functions.
. ./common/filter


_require_extra_fs tmpfs
_require_test
_require_scratch
_require_unionmount_testsuite

_unionmount_testsuite_run --ov=10 --maxfs=10 --xino --verify

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