summaryrefslogtreecommitdiff
path: root/tests/xfs/238
blob: 64abb4de15d7f838177ff2ac33bbc02ca5088dff (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) 2010 Red Hat, Inc.  All Rights Reserved.
#
# FS QA Test No. 238
#
# Check stale handles pointing to unlinked files are detected correctly
#
. ./common/preamble
_begin_fstest auto quick metadata ioctl

# Import common functions.
. ./common/filter

# real QA test starts here

# Modify as appropriate.
_supported_fs xfs
_require_scratch

echo "Silence is golden"

_scratch_mkfs > /dev/null 2>&1
_scratch_mount > /dev/null 2>&1
$here/src/stale_handle $SCRATCH_MNT
status=$?
exit