Skip to content

Commit

Permalink
Add sanity.run file
Browse files Browse the repository at this point in the history
This run file contains a subset of functional tests which exercise
as much functionality as possible while still executing relatively
quickly.  The included tests should take no more than a few seconds
each to run at most.  This provides a convenient way to sanity test a
change before committing to a full test run which takes several hours.

    $ ./scripts/zfs-tests.sh -r sanity
    ...
    Results Summary
    PASS	 813

    Running Time:	00:14:42
    Percent passed:	100.0%

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#11271
  • Loading branch information
behlendorf authored and Ryan Moeller committed Dec 23, 2020
1 parent fa60072 commit df9ec55
Show file tree
Hide file tree
Showing 3 changed files with 625 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/runfiles/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ dist_pkgdata_DATA = \
linux.run \
longevity.run \
perf-regression.run \
sanity.run \
sunos.run
6 changes: 6 additions & 0 deletions tests/runfiles/common.run
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
# 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: 4-5 hours
#

[DEFAULT]
pre = setup
Expand Down
Loading

0 comments on commit df9ec55

Please sign in to comment.