summaryrefslogtreecommitdiff
path: root/usr/src/test/zfs-tests/cmd
AgeCommit message (Collapse)AuthorFilesLines
2022-12-0915244 zfs-tests: zfstest should accept multiple -c optionsToomas Soome1-2/+7
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-2415005 Tests for btree implementation used by range treesJohn Wren Kennedy3-2/+583
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-2114993 zfs-tests: Move platform independent tests to a shared runfileRyan Moeller1-7/+11
Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2021-10-0814007 zfstest: find_disks needs to be smarterYuri Pankov1-2/+2
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-01-2613365 Add option to testrunner to re-run just failed testsAndy Fiddaman1-3/+9
Reviewed by: Jason King <jason.king@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-12-3113400 zfs-tests: implicit conversion from 'enum dmu_objset_type' to 'enum ↵Toomas Soome1-1/+1
lzc_dataset_type' Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-11-1313172 Port OpenZFS: zfs label bootenv should store data as nvlistToomas Soome1-2/+5
Reviewed-by: Arvind Sankar <nivedita@alum.mit.edu> Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Paul Dagnelie <pcd@delphix.com> Reviewed-by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-11-1313025 Port OpenZFS: Add support for boot environment data to be stored in ↵Paul Dagnelie1-90/+131
the label Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Toomas Soome <tsoome@me.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-07-0712877 Port OpenZFS #7780 - Add basic zfs ioc input nvpair validationDon Brady3-0/+996
12895 zfs_onexit_fd_hold fails to release non-zfs fds Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Portions contributed by: George Wilson <george.wilson@delphix.com> Portions contributed by: Simon Klinkert <simon.klinkert@gmail.com> Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-1812707 Port OpenZFS Coverity Fixesluozhengzheng1-0/+5
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Portions contributed by: Jason King <jason.king@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-101701 ZFS to support UNMAP/TRIM for SSDBrian Behlendorf2-0/+73
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: George Wilson <george.wilson@delphix.com> Portions contributed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: Chunwei Chen <tuxoko@gmail.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: Tim Chase <tim@chase2k.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Tom Caputi <tcaputi@datto.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-08-2011479 zfs project supportNasf-Fan1-2/+4
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Jinshan Xiong <jinshan.xiong@intel.com> Portions contributed by: Suman Chakravartula <schakrava@gmail.com> Portions contributed by: jxiong <jinshan.xiong@gmail.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Andreas Dilger <andreas.dilger@intel.com> Reviewed by Ned Bass <bass6@llnl.gov> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-01-0910076 make usr/src/test smatch cleanJohn Levon1-0/+7
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-03-149166 zfs storage pool checkpointSerapheim Dimitropoulos2-0/+211
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-069027 Makefiles need to specify C99 mode consistentlyYuri Pankov1-1/+1
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
2017-06-138311 ZFS_READONLY is a little too strictGordon Ross2-0/+165
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Prakash Surya <prakash.surya@delphix.com>
2017-06-058304 zfs-tests/bin/zfstest should allow DISKS=(zvols)Gordon Ross1-1/+6
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Prakash Surya <prakash.surya@delphix.com>
2017-05-188021 ARC buf data scatter-izationDan Kimmel2-0/+125
8100 8021 seems to cause random BAD TRAP: type=d (#gp General protection) Reviewed by: Matthew Ahrens mahrens@delphix.com Reviewed by: George Wilson george.wilson@delphix.com Reviewed by: Paul Dagnelie pcd@delphix.com Reviewed by: John Kennedy john.kennedy@delphix.com Reviewed by: Prakash Surya prakash.surya@delphix.com Reviewed by: Prashanth Sreenivasa pks@delphix.com Reviewed by: Pavel Zakharov pavel.zakharov@delphix.com Reviewed by: Chris Williamson chris.williamson@delphix.com Approved by: Richard Lowe <richlowe@richlowe.net>
2017-04-25backout: 8021 ARC buf data scatter-ization (causes 8100)Robert Mustacchi2-125/+0
2017-04-218021 ARC buf data scatter-izationDan Kimmel2-0/+125
Reviewed by: Matthew Ahrens mahrens@delphix.com Reviewed by: George Wilson george.wilson@delphix.com Reviewed by: Paul Dagnelie pcd@delphix.com Reviewed by: John Kennedy john.kennedy@delphix.com Reviewed by: Prakash Surya prakash.surya@delphix.com Reviewed by: Prashanth Sreenivasa pks@delphix.com Reviewed by: Pavel Zakharov pavel.zakharov@delphix.com Reviewed by: Chris Williamson chris.williamson@delphix.com Approved by: Richard Lowe <richlowe@richlowe.net>
2017-03-287982 zfstest -a destroys rpool on IDE disks and should strip partition numbersAttila Fülöp1-1/+2
Reviewed by: John Wren Kennedy <john.kennedy@delphix.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2016-12-237512 Simplify the Makefiles in zfstestJohn Wren Kennedy5-43/+8
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-11-127290 ZFS test suite needs to control what utilities it can runJohn Wren Kennedy1-7/+44
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2016-11-067503 zfs-test should tail ::zfs_dbgmsg on test failurePavel Zakharov1-1/+5
Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2016-08-087260 disable libdiskmgmt in zfstest unless it's requiredJohn Wren Kennedy1-0/+1
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-03-096370 ZFS send fails to transmit some holesPaul Dagnelie3-0/+87
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: Stefan Ring <stefanrin@gmail.com> Reviewed by: Steven Burgess <sburgess@datto.com> Reviewed by: Arne Jansen <sensille@gmx.net> Approved by: Robert Mustacchi <rm@joyent.com>
2016-02-246642 testrunner output can be displayed in the wrong orderJohn Wren Kennedy1-9/+6
6643 zfstest should enforce the required privileges before running. Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Jonathan Mackenzie <jonathan.mackenzie@delphix.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-02-224521 zfstest is trying to execute evil "zfs unmount -a"Yuri Pankov1-4/+8
Reviewed by: Andriy Gapon <avg@FreeBSD.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-04-265767 fix several problems with zfs test suiteJohn Wren Kennedy6-7/+457
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-02-264620 Add OmniOS as a runnable usr/src/test distroDan McDonald1-0/+3
Reviewed by: John Wren Kennedy <john.kennedy@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2013-11-014263 system/test/zfstest should depend on system/xopen/xcu4Yuri Pankov1-3/+3
4264 New features should be added to zpool_get.cfg 4276 zfstest should use less common user account than "admin" for ACL tests Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Dan McDonald <danmcd@nexenta.com>
2012-12-073311 Want a test framework for arbitrary OS unit testsJohn Wren Kennedy33-0/+2544
3312 Add a testrunner package for OS unit tests 3313 Add a testrunner package to convert ZFS tests from STF Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com> Reviewed by: Will Guyette <will.guyette@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Henrik Mattson <henrik.mattson@delphix.com> Reviewed by: Sonu Pillai <sonu.pillai@delphix.com> Reviewed by: Christopher Siden <chris.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>