summaryrefslogtreecommitdiff
path: root/tests/generic/463
blob: 719e98c5f69657903553b0481e26fae7eaeea0e9 (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
28
29
30
31
32
33
34
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2017 Christoph Hellwig.  All Rights Reserved.
#
# FS QA Test 463
#
# Test racy COW AIO write completions.
#
. ./common/preamble
_begin_fstest auto quick clone

# Override the default cleanup function.
_cleanup()
{
	cd /
	rm -f $tmp.*
	rm -f $TEST_DIR/file $TEST_DIR/clone
}

# Import common functions.
. ./common/filter
. ./common/reflink

_supported_fs generic

_require_test
_require_test_reflink
_require_aiodio aio-dio-cow-race

$AIO_TEST $TEST_DIR/file $TEST_DIR/clone

echo "Silence is golden"
status=0
exit