From patchwork Wed May 10 17:46:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schumaker, Anna" X-Patchwork-Id: 9720299 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6B0276035D for ; Wed, 10 May 2017 17:47:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B5C328402 for ; Wed, 10 May 2017 17:47:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F83228622; Wed, 10 May 2017 17:47:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8DA728576 for ; Wed, 10 May 2017 17:47:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751760AbdEJRrJ (ORCPT ); Wed, 10 May 2017 13:47:09 -0400 Received: from mx144.netapp.com ([216.240.21.25]:24063 "EHLO mx144.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752923AbdEJRrH (ORCPT ); Wed, 10 May 2017 13:47:07 -0400 X-IronPort-AV: E=Sophos;i="5.38,320,1491289200"; d="scan'208";a="192660510" Received: from vmwexchts01-prd.hq.netapp.com ([10.122.105.12]) by mx144-out.netapp.com with ESMTP; 10 May 2017 10:30:23 -0700 Received: from VMWEXCCAS12-PRD.hq.netapp.com (10.122.105.30) by VMWEXCHTS01-PRD.hq.netapp.com (10.122.105.12) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 10 May 2017 10:46:44 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS12-PRD.hq.netapp.com (10.122.105.30) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Wed, 10 May 2017 10:46:44 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JkrIVdcdcqwp1b/DenkcpUHn3O42nF0dQGw9l+sK3bk=; b=BT7CbeQpQ/rPdMvJhnnIrDIC+ocK3kBTCdCBslxpPbfcKedkFrLnlc07zaTC+pnPTv/8yD+AgUZYYYObYew1duT/TtUikswnz+rksmF5VuMe930ijYTbw8EmMWrfsO7/oqXZctEtKUWGzoI8q9D7mmTvy9ZiX/7j8bqfb4aq4Qc= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=Netapp.com; Received: from gouda.nowheycreamery.com.nowheycreamery.com (68.40.188.1) by MWHPR06MB2479.namprd06.prod.outlook.com (10.168.248.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Wed, 10 May 2017 17:46:43 +0000 From: Anna Schumaker To: CC: , , Subject: [PATCH v6 3/5] generic/431: Add copy test that overwrites data Date: Wed, 10 May 2017 13:46:26 -0400 Message-ID: <20170510174628.22895-4-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170510174628.22895-1-Anna.Schumaker@Netapp.com> References: <20170510174628.22895-1-Anna.Schumaker@Netapp.com> MIME-Version: 1.0 X-Originating-IP: [68.40.188.1] X-ClientProxiedBy: MWHPR1601CA0024.namprd16.prod.outlook.com (10.172.93.34) To MWHPR06MB2479.namprd06.prod.outlook.com (10.168.248.15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dd17eaea-1769-477d-8710-08d497cc85dd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:MWHPR06MB2479; X-Microsoft-Exchange-Diagnostics: 1; MWHPR06MB2479; 3:OsVckH9z1tdpvDpmJW9yLPomCxBki53+q8EI/g50J3X3k8Qf9F+c6bjZXaLboLJHj39/9/iUyLyWe88hr61wZKvxYG9JW99j5WcrxxqAGNKwAVzZP/QdHdoFgNCuSkH9oia3mTj5MTGjLq7vau8usg+ZpKUCx+1WbD/04LJ7k5qy8UYfGnTVAI3XcKbU7x64ba5S7pSFwj7mZb0x/Q1mCpR6OTbsf1CzMWw62cnqHW2+jj0OEg16rw816rXU8mGYGUN/ndE50XncdGk8oDKk1StCJGKk0jfEGVWri5Yl6OASbzYrdxeHg7CLkwuHc2ddvd1LgJVvjqmLH4eLwYvJjA==; 25:JboPvg65bfu68I/Lnckvwiq4FP4WCvy4BEfCYRvle9w+8XQjt91BedV8/S7qyo4rs44VMsFQcKzN4KfIqkvMzUJjIMT2esXxz2ULWav/oiW0MJz+nlslMf3B//JvaZNVQ7/N9NTB2VyIQJwPcucC6bczPolCcr94MvjFgXuh74eWSIs6StRV9qlSQwtx6MdpaWWUfv9BovfwgP+XuyvdG+zFTYZMxeMDbeDYDqpeiTscRtMvvgl6TqNWGmCWyc/8pVJRvpFObTBItwUP2v9MryPFP6PPVfFzcdGEvKn20gfYCJ9Ydy1hUsIiOGojuxq8oUtT/b/5xPypw/DOjUTqeC8eCSILuQa8nsejlDihL9/zBkMFMHZXvm0zv/wUVoXry2kglYaG+avAlImBiUwvIvaZABWINQGOB5cwuoEaAdvoJHEt+1gascy2tYcHQ4g7AzTBIRTllOewgSiE1KUD0qTK0jFes6i1EjdFSpb9KCs= X-LD-Processed: 4b0911a0-929b-4715-944b-c03745165b3a,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; MWHPR06MB2479; 31:NENJsE2kPm20gOhtF/BNdViOnIKS87ZhWhxwKDMq8fr5SOwR+uEdzNeYQEZL1WC0JROADrGnwYFGOpbLP3yq7E/kt8nUssaLhMSRPJAwKNilxgoo2yvx1pzaPeOrxicvdsJAsL1HrbQrtLpcKVcPgZs5iHQp5weafTxg0v0ws1PNZbnYYrjFy3ku6T4Xij/FL3yIoSgJjkVY0TljzrNCk6SGcT3lvMXz0LWPQl/xsHzvj5hhDcMee9TOvvyERiYq; 20:koD9kctOdPX14UCz5y6l+7el2WXV3b6uZy+1PKzsZQwzSMGBnMIvmM4dULpZTRVJvKgUaNjX3ujM85DpsGjD/sBuGzAJlzonCi+nPVrIlfYipoMS9qZRkUJCDRG2EUMMyc6s+6t/TEqmHbAeP2sOvN5689T02aYkI7XMmlVNhsLi2AYZESFGkMKvSFA1trOFtEubafnGh9+NHJZx0yYuJUy09OG/FDsuAW3aFSokZVFopp6q7TCZFZDw3dh1WDiMCFT0xeUhLQkNVcolgrNaloquKuu3pJe0iOttMWhCnhhb6GkxwrVMnOQN49do+fj+Y0cFIl5u6RQk5J65cVBK6yMnqM37O0tY33JgcDgurWDJFw9992PN0LIk7GR+FjCSqhTxv6T5AnueN5W6YIGBNCzsygbaLOOJy20LEBAa15+BWrnZN2rZ2weVNg7fpXy7RnXykvsf1V+i4xBi2M/nGiGQBNCwX2JkbmePrrLVz99+3rSoBjrrOL6bEfHN3U2u X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123560025)(20161123562025)(20161123555025)(6072148); SRVR:MWHPR06MB2479; BCL:0; PCL:0; RULEID:; SRVR:MWHPR06MB2479; X-Microsoft-Exchange-Diagnostics: 1; MWHPR06MB2479; 4:nN71X+gyWqt5AQJ60O+G7Emtwxz07/AiC9K3Kv4QRlnwvkJWc19UrmSxT/mfzz+aaVMs+PVUvlpNSeF01GCIIkuTm+pR4s8s1Pair4ETLfJPb3sLitqK7WfTFri/M4p7XXUjtG3nH6v0CL+SCWvrUwmJBaqymdDoAwEyE0Ojfp2JN9nfYEuqYqmztPct/buJcN2qzL5ZutquY0DuEF2m9wYvs7Cya3zFSYH/KesBvpK7pe8NjfosjuFPjDktCv0MOHLLSTN5DufAfpTnnynz3b4vRWuk/DOEdtYuAAetSRZlmKjTo5t17N4rV2x7/R1lcPQp2Rhg0rLdYDQB3aUf6ObXWrsxU/W3Sbg53aOTpvu7gbHvIYQZopHB1utu3tIfzYoHGNdAm++DgKMG+ieNkpJUetjEnhFj5MhRKsXJ29qFJQVzTP4gsQvzr0vW3mMg+0k61Ybrr2DVvB6GLTLO51Ki0ju6zXaIzbAaxOh8XyiZ7HDXQExXh2Xs7EjQYM6Dioc/vfVMR92oQVF0QBlS+S7/vIcYi1m07/BNqnvYVUsYe+MUtWzoUZZKOaJIChDsQpWkvtd27SzRx5RDQB+U5aRxSuzLskjwttdgXIB7WhS7WTVS2a6p/jUNAePStnDlpgFrg7jKzsjsXBmJ8vcgnyV+VZDYQdKBbUDMAMUin5YpJoa6fnnDXiPjTVYwyHVJVD28JLjWy8ZTbPMEWrt0DLa73hvt9+nrfAy0wV3FppF+Bx6sORNCdwFTsfwln1aSHEdF3jZRLRZwAnTkdkBnpGZh+ajSI9gc3/moklHxC/+uTjYLRWUwPGXmEHaDcV/6 X-Forefront-PRVS: 03030B9493 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39850400002)(39410400002)(39450400003)(39400400002)(6512007)(54906002)(4326008)(189998001)(3846002)(6486002)(6506006)(2906002)(6116002)(25786009)(1076002)(38730400002)(86362001)(66066001)(72206003)(110136004)(50466002)(48376002)(2351001)(42186005)(81166006)(8676002)(5003940100001)(478600001)(50226002)(47776003)(5660300001)(53936002)(36756003)(6666003)(2950100002)(76176999)(50986999)(7736002)(305945005)(6916009)(2004002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR06MB2479; H:gouda.nowheycreamery.com.nowheycreamery.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR06MB2479; 23:gzxItlTZMAX/i11tvwuzGB85+8A/2oiVaW+aEZDkD?= =?us-ascii?Q?ZDXrgZ9yYIMKwB1Ltsfc/0RRZ6/8xZzZB4zmv7lWG2apZEuks1/dw5OUKS2R?= =?us-ascii?Q?bKufkSI1ntCxFnPoCZAGCl8wsvx+Yj0Tt+oYXvd0TSiflYkj+L35MYS5nfCC?= =?us-ascii?Q?EEty7Dw56F8XHiuqTZ1FgGK7sy6HRfTHdNcR3FC9e3wO2aCTbwidI4RQkJta?= =?us-ascii?Q?rTvvevxPEfDJ28o0T11FMWCoYfKh+GdMzl1Ti2DwwTtKRYhvoMWzmDyZ9wyD?= =?us-ascii?Q?F/mSrKh5B9tYgx1MgCjCcWoO6R7knGkayCzXl0/VMOFcgGW+wpzraoBU3UjD?= =?us-ascii?Q?Oq9X0kOY8NyI0G1n0yVKDTcEyxQNhym/EvF5KT459yPs8yxAWf7Kp4Lbw3hz?= =?us-ascii?Q?Zd5kadh6wNWrMwn9YOqFc+hhJ9b9edrYq6Z8AZUyehPqMU6kVTItnHFyEg2X?= =?us-ascii?Q?MERkn2xSNa6JsGbaOdMQZj0vr45u6rf/RM5U1vMEpJs76vC7+ymoOxUN7fHe?= =?us-ascii?Q?5BqzsSuJ5iXT3XQV2OSaL2WkNNrwPziP4dkrmRgTKUoKdbzmni4Wnzb2hc/v?= =?us-ascii?Q?wM+mCQUhPJ6t86OdLRggszD1thSQYkQCanwf36SXj1Tl7hi80fRE60mKdd79?= =?us-ascii?Q?EXiknPMU54ReMxFiP6mwdjS89nWb9ZZ8JOLeDG/0rG+q3QBMQg5PjCVgmQdy?= =?us-ascii?Q?0EjCEA51cTe6GsjWKI++HLLu9TmOMWZQcKYevrtto0/lq5H6vpccBULBmB9F?= =?us-ascii?Q?otiEn4EfekEAf0p75Yp2vIfxKrckmU8rkezq3n0ML7rom5IsZVRTthFodtS7?= =?us-ascii?Q?/gLcKXqkTOOe7BdjwYbKaruKRCC3YK/RFSbZE6KE0PDM12b59+PmxWX6QC7C?= =?us-ascii?Q?VEilwSku3r83m9o2eWPq6ifylUcYlfh6RkumnLFwPUxM+vp/UShzeTX7Eol8?= =?us-ascii?Q?3ZxbZBuELVgVHKUvxO9OzXi1FdOdTsgzBQpcbURwJCktwxvWzHGYszMbDSeW?= =?us-ascii?Q?P4lIZYfczu+R1pL0zioN+j0D1EcFLpzjHsvN1F8fX+RIipRcztrdWJOzo6+9?= =?us-ascii?Q?WLiqOrK8sgRJfJbdpwCf5QxGQx3R2RJtDCIVjUKNRzqhmgyhw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR06MB2479; 6:4WhZmXsI64ImbrSA675WcdqVgD8IMaymr+R0/85e3pvHvd8idkKTerrHjCdbyMnRa7sYmGx0xkGakHw8AWcQUh+aroreDj6YvERkNPAaapBHXs0v7UZmWUx7Ysy3HK93iqAPwJX3m7zYHtzQraIR99JMyB4Trs5K3dhvJMGpZX4iSjKIOwNUrELQh0uXqRUPlVSMzixk2lKRnU2wV3PaUV/5jeGJupyjdagUCYdA67exHKVX5lgGnkFUlEAoRTNSQJNVo8w7EojRZQSB4IJtyksyl6ft5mS4gBX6/QwAzUbobnFRu3ka6REHjwaiSxGf4oyZEUo22T7itvTouv5bcfgkFVs7jsQInYzveUBZ17gbCJsmim4jAXbbmJQ1Tkbgy5O2WoVrtZkwcR80wL343JImnqVIrzR43z15n3avnYP+vD6T3RdFHSP85AaVyTWjyu99hmiPPdxGzhV0X/t52eEL6Wa/h0j42z9MdCPEb/nLK7j5BqbNA/H4KrF/sz1oRakYokzUX1MyASwzcwMsUA==; 5:lWygtm2z/7RX8EuDeJTeTP+k5wKGFDk/mjth76/BRgYxQ3x4sgtXhnT1Qj9fT8fadQ61WlvXiDelYBwpw1wX+ORNh61//ItwyKJPhYGkQGpJIBg24WOXDBPLDPzKavd+SQM+KswBliHRJbueLSN50g==; 24:9BE7uvLNe8mwTEMHQ7jZyeJNUwWkc2ODDMis2Q/sYJBZMrU+Kc5SsutxYkes4w/o/LUxmq2dk7qldDFlrxaXKKW9YggkZ/cpCqMFvKMNvBY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR06MB2479; 7:dGfbGhIOlrNDvdoqjAL0cTvsQxMEoP6wtW1fruYlQVpZ7ujQUkSOubwUUBvVGx0ZaexEeE9TjrHuX9bx8AzApt+qEQBdXQeLoPQGBkq3qKXhawEWZ83DIErB3a13RGfraInoynAv+9iswlJ9crTIkDBI3DENTy/Hw8glB/xlmelx7aWd2M0Jp+gaGiQX3U61op2+je7mRImvGymnSjBA0jWzJUqARGxPITQIh81BjYBgHETA42RII6yiwq2ZBx9+daOtPMaymHc0BExbadyYidaIgMZ48hrBCE0fCSrTdINMZ35jFuRsDE7GqR0jw76isa+Q/MLZrnIRW/JpWJJwmg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 17:46:43.6669 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR06MB2479 X-OriginatorOrg: netapp.com Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Using copy to overwrite data in the destination file is perfectly valid, so let's make sure this case works as expected. Signed-off-by: Anna Schumaker --- tests/generic/431 | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/generic/431.out | 17 +++++++++ tests/generic/group | 1 + 3 files changed, 118 insertions(+) create mode 100755 tests/generic/431 create mode 100644 tests/generic/431.out diff --git a/tests/generic/431 b/tests/generic/431 new file mode 100755 index 00000000..413aa8d2 --- /dev/null +++ b/tests/generic/431 @@ -0,0 +1,100 @@ +#!/bin/bash +# FS QA Test No. 431 +# +# Tests vfs_copy_file_range(): +# - Copy a file +# - Use copy to swap data at beginning and end +# - Use copy to swap data in the middle +# - Use copy to simultaneously overwrite and append to destination file +#----------------------------------------------------------------------- +# Copyright (c) 2017 Netapp, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it would be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +#----------------------------------------------------------------------- +# + +seq=`basename $0` +seqres=$RESULT_DIR/$seq +echo "QA output created by $seq" + +here=`pwd` +tmp=/tmp/$$ +status=1 # failure is the default! +trap "_cleanup; exit \$status" 0 1 2 3 15 + +_cleanup() +{ + cd / + rm -rf $tmp.* +} + +# get standard environment +. common/rc +. common/filter + +# real QA test starts here +_supported_fs generic +_supported_os Linux + +_require_xfs_io_command "copy_range" +_require_test + +testdir=$TEST_DIR/test-$seq +rm -rf $testdir +mkdir $testdir +rm -f $seqres.full + +echo "Create the original file and then copy" +$XFS_IO_PROG -f -c 'pwrite -S 0x61 0 1000' $testdir/file >> $seqres.full 2>&1 +$XFS_IO_PROG -f -c 'pwrite -S 0x62 1000 1000' $testdir/file >> $seqres.full 2>&1 +$XFS_IO_PROG -f -c 'pwrite -S 0x63 2000 1000' $testdir/file >> $seqres.full 2>&1 +$XFS_IO_PROG -f -c 'pwrite -S 0x64 3000 1000' $testdir/file >> $seqres.full 2>&1 +$XFS_IO_PROG -f -c 'pwrite -S 0x65 4000 1000' $testdir/file >> $seqres.full 2>&1 +$XFS_IO_PROG -f -c "copy_range $testdir/file" "$testdir/copy" +cmp $testdir/file $testdir/copy +echo "Original md5sums:" +md5sum $testdir/{file,copy} | _filter_test_dir + +echo "Swap beginning and end of original file" +$XFS_IO_PROG -f -c "copy_range -s 4000 -l 1000 $testdir/file" "$testdir/copy" 2>&1 +$XFS_IO_PROG -f -c "copy_range -d 4000 -l 1000 $testdir/file" "$testdir/copy" 2>&1 +cmp -n 1000 $testdir/file $testdir/copy 4000 +cmp -n 3000 $testdir/file $testdir/copy 1000 1000 +cmp -n 1000 $testdir/file $testdir/copy 0 4000 +echo "md5sums after swapping beginning and end:" +md5sum $testdir/{file,copy} | _filter_test_dir + +echo "Swap middle parts of original file" +$XFS_IO_PROG -f -c "copy_range -s 1000 -d 3000 -l 1000 $testdir/file" "$testdir/copy" 2>&1 +$XFS_IO_PROG -f -c "copy_range -s 3000 -d 1000 -l 1000 $testdir/file" "$testdir/copy" 2>&1 +cmp -n 1000 $testdir/file $testdir/copy 4000 +cmp -n 1000 $testdir/file $testdir/copy 3000 1000 +cmp -n 1000 $testdir/file $testdir/copy 2000 2000 +cmp -n 1000 $testdir/file $testdir/copy 1000 3000 +cmp -n 1000 $testdir/file $testdir/copy 0 4000 +echo "md5sums after swapping middle:" +md5sum $testdir/{file,copy} | _filter_test_dir + +echo "Copy tail of original file onto copy" +$XFS_IO_PROG -f -c "copy_range -s 1000 -d 3000 -l 4000 $testdir/file" "$testdir/copy" 2>&1 +cmp -n 1000 $testdir/file $testdir/copy 4000 +cmp -n 1000 $testdir/file $testdir/copy 3000 1000 +cmp -n 1000 $testdir/file $testdir/copy 2000 2000 +cmp -n 4000 $testdir/file $testdir/copy 1000 3000 +echo "md5sums after copying tail:" +md5sum $testdir/{file,copy} | _filter_test_dir + +#success, all done +status=0 +exit diff --git a/tests/generic/431.out b/tests/generic/431.out new file mode 100644 index 00000000..175fbdf1 --- /dev/null +++ b/tests/generic/431.out @@ -0,0 +1,17 @@ +QA output created by 431 +Create the original file and then copy +Original md5sums: +e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-431/file +e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-431/copy +Swap beginning and end of original file +md5sums after swapping beginning and end: +e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-431/file +5f4e111811dd9a810143c9db9bec6d80 TEST_DIR/test-431/copy +Swap middle parts of original file +md5sums after swapping middle: +e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-431/file +8c81889a5a50b311197110bcf769a695 TEST_DIR/test-431/copy +Copy tail of original file onto copy +md5sums after copying tail: +e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-431/file +e5fbacd993eaa5e80ebc2b14b969887d TEST_DIR/test-431/copy diff --git a/tests/generic/group b/tests/generic/group index b5f115af..608c45b2 100644 --- a/tests/generic/group +++ b/tests/generic/group @@ -433,3 +433,4 @@ 428 auto quick 429 auto quick copy 430 auto quick copy +431 auto quick copy