-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The test mostly focus on testing various corner cases. The tests take a long time to run, so for the common.run runfile we randomly select a hundred tests. To run all the bclone tests, bclone.run runfile should be used. Signed-off-by: Pawel Jakub Dawidek <pawel@dawidek.net>
- Loading branch information
Showing
31 changed files
with
1,661 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# | ||
# This run file contains all of the common functional tests. When | ||
# adding a new test consider also adding it to the sanity.run file | ||
# if the new test runs to completion in only a few seconds. | ||
# | ||
# Approximate run time: 5 hours | ||
# | ||
|
||
[DEFAULT] | ||
pre = setup | ||
quiet = False | ||
pre_user = root | ||
user = root | ||
timeout = 28800 | ||
post_user = root | ||
post = cleanup | ||
failsafe_user = root | ||
failsafe = callbacks/zfs_failsafe | ||
outputdir = /var/tmp/test_results | ||
tags = ['bclone'] | ||
|
||
[tests/functional/bclone] | ||
tests = ['bclone_crossfs_corner_cases', | ||
'bclone_crossfs_data', | ||
'bclone_crossfs_embedded', | ||
'bclone_crossfs_hole', | ||
'bclone_diffprops_all', | ||
'bclone_diffprops_checksum', | ||
'bclone_diffprops_compress', | ||
'bclone_diffprops_copies', | ||
'bclone_diffprops_recordsize', | ||
'bclone_prop_sync', | ||
'bclone_samefs_corner_cases', | ||
'bclone_samefs_data', | ||
'bclone_samefs_embedded', | ||
'bclone_samefs_hole'] | ||
tags = ['bclone'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- If dedup enabled, block_cloning uses dedup. | ||
- check when block cloning doesn't suppose to work | ||
- check block cloning between two different pools | ||
- block cloning from a snapshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# CDDL HEADER START | ||
# | ||
# The contents of this file are subject to the terms of the | ||
# Common Development and Distribution License (the "License"). | ||
# You may not use this file except in compliance with the License. | ||
# | ||
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE | ||
# or https://opensource.org/licenses/CDDL-1.0. | ||
# See the License for the specific language governing permissions | ||
# and limitations under the License. | ||
# | ||
# When distributing Covered Code, include this CDDL HEADER in each | ||
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. | ||
# If applicable, add the following below this CDDL HEADER, with the | ||
# fields enclosed by brackets "[]" replaced with your own identifying | ||
# information: Portions Copyright [yyyy] [name of copyright owner] | ||
# | ||
# CDDL HEADER END | ||
# | ||
|
||
# | ||
# Copyright (c) 2023 by Pawel Jakub Dawidek | ||
# | ||
|
||
# TODO: We should calculate that based on ashift. | ||
export MINBLOCKSIZE=512 | ||
|
||
export TESTSRCFS="$TESTPOOL/$TESTFS/src" | ||
export TESTDSTFS="$TESTPOOL/$TESTFS/dst" | ||
export TESTSRCDIR="$TESTDIR/src" | ||
export TESTDSTDIR="$TESTDIR/dst" |
Oops, something went wrong.