#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020 CTERA Networks. All Rights Reserved.
#
# FS QA Test 102
#
# Run unionmount testsuite to verify correctness
# with single lower layer not on same fs as upper
# with xino enabled
#
. ./common/preamble
_begin_fstest auto quick union nonsamefs xino

_register_cleanup "_unionmount_testsuite_cleanup"

# Import common functions.
. ./common/filter

# real QA test starts here

_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite

_unionmount_testsuite_run --ov --xino --verify

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