# - modify A to trigger copy up
# - file A is no longer a hardlink of file B
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick copyup hardlink nonsamefs
-tmp=/tmp/$$
-status=1 # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-_cleanup()
-{
- rm -f $tmp.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
# real QA test starts here
_require_scratch_feature index
_require_test_program "t_dir_type"
-rm -f $seqres.full
-
# Record inode numbers in format <ino> <nlink>
function record_ino_nlink()
{