blob: 593ac47b67cd48531d439ba4960bf759209c86c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved.
#
# FS QA Test No. 247
#
# Mount a reflink/rmap filesystem ro (so the per-AG reservation isn't
# created) and unmount, to ensure that we free correctly.
#
. ./common/preamble
_begin_fstest auto quick clone
# Import common functions.
. ./common/filter
. ./common/reflink
# real QA test starts here
_supported_fs xfs
_require_scratch_reflink
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_scratch_mount -o ro >> $seqres.full 2>&1
# success, all done
status=0
exit
|