From: Luis Henriques Date: Mon, 26 Jun 2017 16:40:52 +0000 (+0100) Subject: generic/430: Fix filename in "copy beyond end" test X-Git-Tag: v2022.05.01~1996 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9f03a9a9ae6654f8e9ec5d6bb4f27e6210e832ac;p=xfstests-dev.git generic/430: Fix filename in "copy beyond end" test The cmp command was using the wrong file to perform the comparison. Use $testdir/beyond instead of $testdir/end. Signed-off-by: Luis Henriques Reviewed-by: David Disseldorp Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/generic/430 b/tests/generic/430 index 2ec126db..5d6b8d6c 100755 --- a/tests/generic/430 +++ b/tests/generic/430 @@ -87,7 +87,7 @@ md5sum $testdir/{file,end} | _filter_test_dir echo "Copy beyond end of original file" $XFS_IO_PROG -f -c "copy_range -s 4000 -l 2000 $testdir/file" "$testdir/beyond" -cmp -n 1000 $testdir/file $testdir/end 4000 +cmp -n 1000 $testdir/file $testdir/beyond 4000 echo "md5sums after copying beyond:" md5sum $testdir/{file,beyond} | _filter_test_dir