2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Red Hat, Inc. All Rights Reserved.
7 # Check stale handles pointing to unlinked files are detected correctly
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
24 # get standard environment, filters and checks
28 # real QA test starts here
30 # Modify as appropriate.
34 echo "Silence is golden"
36 _scratch_mkfs > /dev/null 2>&1
37 _scratch_mount > /dev/null 2>&1
38 $here/src/stale_handle $SCRATCH_MNT