2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2013 Red Hat, Inc. All Rights Reserved.
7 # Check ctime and mtime are updated on truncate(2) and ftruncate(2)
9 # Regression test for commit:
10 # 3972f26 btrfs: update timestamps on truncate()
13 _begin_fstest auto quick
15 # Override the default cleanup function.
22 # Import common functions.
25 # real QA test starts here
29 testfile=$TEST_DIR/testfile.$seq
31 echo "Silence is golden"
33 $here/src/t_truncate_cmtime $testfile 2>&1