#
# Verify that mtime is not updated when deduping files.
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick clone dedupe metadata
-here=`pwd`
status=0
-trap "_cleanup; exit \$status" 0 1 2 3 15
+# Override the default cleanup function.
_cleanup()
{
cd /
rm -f $destfile
}
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
. ./common/reflink
_require_test_dedupe
echo "Silence is golden."
-rm -f $seqres.full
# pattern the files.
sourcefile=$TEST_DIR/dedup_mtime_sourcefile