]> granicus.if.org Git - zfs/commit
Fix some ZFS Test Suite issues
authorLOLi <loli10K@users.noreply.github.com>
Mon, 25 Sep 2017 17:32:34 +0000 (19:32 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 25 Sep 2017 17:32:34 +0000 (10:32 -0700)
commit3fd3e56cfd543d7d7a1bf502bfc0db6e24139668
tree1ccc22b4c0eccb6e3f38fa973b89dc8d6a4bfaa4
parentb33d668ddb005b1072c26d36e1abff53aa39ca98
Fix some ZFS Test Suite issues

* Add 'zfs bookmark' coverage (zfs_bookmark_cliargs)

 * Add OpenZFS 8166 coverage (zpool_scrub_offline_device)

 * Fix "busy" zfs_mount_remount failures

 * Fix bootfs_003_pos, bootfs_004_neg, zdb_005_pos local cleanup

 * Update usage of $KEEP variable, add get_all_pools() function

 * Enable history_008_pos and rsend_019_pos (non-32bit builders)

 * Enable zfs_copies_005_neg, update local cleanup

 * Fix zfs_send_007_pos (large_dnode + OpenZFS 8199)

 * Fix rollback_003_pos (use dataset name, not mountpoint, to unmount)

 * Update default_raidz_setup() to work properly with more than 3 disks

 * Use $TEST_BASE_DIR instead of hardcoded (/var)/tmp for file VDEVs

 * Update usage of /dev/random to /dev/urandom

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Issue #6086
Closes #5658
Closes #6143
Closes #6421
Closes #6627
Closes #6632
44 files changed:
cmd/zfs/zfs_main.c
configure.ac
lib/libzfs/libzfs_mount.c
scripts/zfs-tests.sh
tests/runfiles/linux.run
tests/zfs-tests/include/default.cfg.in
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh
tests/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh
tests/zfs-tests/tests/functional/cache/cache.kshlib
tests/zfs-tests/tests/functional/cli_root/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_002_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_all_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_rename_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_offline_device.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh
tests/zfs-tests/tests/functional/history/history_008_pos.ksh
tests/zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh
tests/zfs-tests/tests/functional/poolversion/cleanup.ksh
tests/zfs-tests/tests/functional/poolversion/setup.ksh
tests/zfs-tests/tests/functional/reservation/reservation_002_pos.sh
tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh
tests/zfs-tests/tests/functional/slog/slog.kshlib
tests/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh
tests/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh
tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh