mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <lhenriques@suse.com> Reviewed-by: David Disseldorp <ddiss@suse.de> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
0f87c87f0c
commit
9f03a9a9ae
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user