Searched refs:upgrade (Results 1 - 25 of 103) sorted by relevance

12345

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Dzfs_upgrade_001_neg.ksh38 # zfs upgrade returns an error when run as a user
41 # 1. Attempt to upgrade a version1 dataset
46 # check to see if we have upgrade capability
47 zfs upgrade > /dev/null 2>&1
51 log_unsupported "Zfs upgrade not supported"
54 log_assert "zfs upgrade returns an error when run as a user"
57 log_mustnot zfs upgrade $TESTPOOL/$TESTFS/version1
60 VERSION=$(zfs upgrade $TESTPOOL/$TESTFS/version1 2>&1 \
67 log_pass "zfs upgrade returns an error when run as a user"
H A Dzpool_upgrade_001_neg.ksh38 # zpool upgrade returns an error when run as a user
42 # 1. Attempt to upgrade a pool
48 log_assert "zpool upgrade returns an error when run as a user"
50 # zpool upgrade returns 0 when it can't do anything
51 log_must zpool upgrade $TESTPOOL.virt
53 # Now try to upgrade our version 1 pool
54 log_mustnot zpool upgrade v1-pool
57 # of zpool upgrade anymore
58 RESULT=$(zpool upgrade | grep v1-pool)
64 log_pass "zpool upgrade return
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade_005_neg.ksh37 # Variations of upgrade -v print usage message, return with non-zero status
46 log_assert "Variations of upgrade -v print usage message," \
50 log_mustnot zpool upgrade $arg
53 log_pass "Variations of upgrade -v print usage message," \
H A Dzpool_upgrade_001_pos.ksh37 # Executing 'zpool upgrade -v' command succeeds, prints a description of legacy
53 log_assert "Executing 'zpool upgrade -v' command succeeds"
58 log_must zpool upgrade -v
63 log_must eval "zpool upgrade -v | head -1 | grep 'feature flags'"
65 zpool upgrade -v > $versions
68 # Current output for 'zpool upgrade -v' has different indent space
78 log_pass "Executing 'zpool upgrade -v' command succeeds"
H A Dzpool_upgrade_006_neg.ksh37 # Attempting to upgrade a non-existent pool will return an error
40 # 1. Compose non-existent pool name, try to upgrade it
44 log_assert "Attempting to upgrade a non-existent pool will return an error"
52 log_mustnot zpool upgrade $NO_POOL
57 log_pass "Attempting to upgrade a non-existent pool will return an error"
H A Dzpool_upgrade_009_neg.ksh38 # zpool upgrade -V shouldn't be able to upgrade a pool to an unknown version
42 # 2. Attempt to upgrade it to an unknown version
43 # 3. Verify that the upgrade failed, and the pool version was still the original
53 log_assert "zpool upgrade -V shouldn't be able to upgrade a pool to" \
60 log_mustnot zpool upgrade -V 999 $pool_name
61 log_mustnot zpool upgrade -V 999
65 log_pass "zpool upgrade -V shouldn't be able to upgrade
[all...]
H A Dzpool_upgrade_008_pos.ksh39 # zpool upgrade should be able to upgrade pools to a given version using -V
46 # 3. Attempt to upgrade that pool to the given version
57 log_assert "zpool upgrade should be able to upgrade pools to a given version" \
63 # enough to determine if upgrade works correctly. Also set a MAX_VER
65 # a zpool upgrade operation to succeed from.
74 log_must zpool upgrade -V $ver_new $pool_name > /dev/null
79 log_pass "zpool upgrade should be able to upgrade pool
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/upgrade/
H A Dcleanup.ksh36 . $STF_SUITE/tests/functional/upgrade/upgrade_common.kshlib
H A Dsetup.ksh36 . $STF_SUITE/tests/functional/upgrade/upgrade_common.kshlib
H A DMakefile.am1 pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/upgrade
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/
H A Dzpool_upgrade_009_neg.ksh43 # Zpool upgrade -V shouldn't be able to upgrade a pool to an unknown version
47 # 2. Attempt to upgrade it to an unknown version
48 # 3. Verify that the upgrade failed, and the pool version was still the original
68 "Zpool upgrade -V shouldn't be able to upgrade a pool to an unknown version"
70 $ZPOOL upgrade --help 2>&1 | $GREP "V version" > /dev/null
73 log_unsupported "Zpool upgrade -V not supported on this release."
82 # Attempt to upgrade it
83 log_mustnot $ZPOOL upgrade
[all...]
H A Dzpool_upgrade_005_neg.ksh41 # Variations of upgrade -v print usage message, return with non-zero status
61 log_assert "Variations of upgrade -v print usage message, \
68 log_mustnot $ZPOOL upgrade ${args[$i]} > /dev/null
73 log_pass "Variations of upgrade -v print usage message, \
H A Dzpool_upgrade_006_neg.ksh41 # Attempting to upgrade a non-existent pool will return an error
44 # 1. Verify a pool doesn't exist, then try to upgrade it
57 log_assert "Attempting to upgrade a non-existent pool will return an error"
67 log_mustnot $ZPOOL upgrade $NO_POOL
73 log_pass "Attempting to upgrade a non-existent pool will return an error"
H A Dzpool_upgrade_008_pos.ksh43 # Zpool upgrade should be able to upgrade pools to a given version using -V
50 # 3. Attempt to upgrade that pool to the given version
71 "Zpool upgrade should be able to upgrade pools to a given version using -V"
73 $ZPOOL upgrade --help 2>&1 | $GREP "V version" > /dev/null
76 log_unsupported "Zpool upgrade -V not supported on this release."
81 # enough to determine if upgrade works correctly. Also set a MAX_VER
83 # a zpool upgrade operation to succeed from. (latest version - 1)
93 log_must $ZPOOL upgrade
[all...]
H A Dzpool_upgrade_001_pos.ksh41 # Executing 'zpool upgrade -v' command succeeds, and also prints a description
60 log_assert "Executing 'zpool upgrade -v' command succeeds."
62 log_must $ZPOOL upgrade -v
67 $ZPOOL upgrade -v > $TMPDIR/zpool-versions.${TESTCASE_ID}
73 # Current output for 'zpool upgrade -v' has different indent space
90 log_pass "Executing 'zpool upgrade -v' command succeeds."
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dzfs_upgrade_001_neg.ksh43 # zfs upgrade returns an error when run as a user
46 # 1. Attempt to upgrade a version1 dataset
60 # check to see if we have upgrade capability
61 $ZFS upgrade > /dev/null 2>&1
65 log_unsupported "Zfs upgrade not supported"
68 log_assert "zfs upgrade returns an error when run as a user"
71 log_mustnot run_unprivileged "$ZFS upgrade $TESTPOOL/$TESTFS/version1"
74 VERSION=$($ZFS upgrade $TESTPOOL/$TESTFS/version1 2>&1 \
81 log_pass "zfs upgrade returns an error when run as a user"
H A Dzpool_upgrade_001_neg.ksh43 # zpool upgrade returns an error when run as a user
47 # 1. Attempt to upgrade a pool
62 log_assert "zpool upgrade returns an error when run as a user"
65 # zpool upgrade returns 0 when it can't do anything
66 log_must run_unprivileged "$ZPOOL upgrade $TESTPOOL.virt"
68 # Now try to upgrade our version 1 pool
69 log_mustnot run_unprivileged "$ZPOOL upgrade v1-pool"
72 # of zpool upgrade anymore
73 RESULT=$($ZPOOL upgrade | $GREP v1-pool)
79 log_pass "zpool upgrade return
[all...]
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade_007_neg.ksh46 # 1. For each invalid value of version in the list, try 'zfs upgrade -V version'.
69 log_mustnot $ZFS upgrade -V ${args[i]} $TESTPOOL/$TESTFS
H A Dzfs_upgrade_006_neg.ksh42 # Verify that invalid upgrade parameters and options are caught.
46 # 2. For each option in the list, try 'zfs upgrade'.
64 log_assert "Badly-formed 'zfs upgrade' should return an error."
68 log_mustnot $ZFS upgrade ${args[i]}
72 log_pass "Badly-formed 'zfs upgrade' fail as expected."
H A Dzfs_upgrade_002_pos.ksh42 # Executing 'zfs upgrade -v ' command succeeds, it should
46 # 1. Execute 'zfs upgrade -v', verify return value is 0.
68 log_assert "Executing 'zfs upgrade -v' command succeeds."
75 log_must eval '$ZFS upgrade -v > /dev/null 2>&1'
77 $ZFS upgrade -v | $NAWK '$1 ~ "^[0-9]+$" {print $0}'> $output
81 log_pass "Executing 'zfs upgrade -v' command succeeds."
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_set/
H A Dzpool_set_001_pos.ksh61 $ZPOOL upgrade -v 2>&1 | $GREP "bootfs pool property" > /dev/null
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/
H A Dzfs_upgrade_006_neg.ksh37 # Verify that invalid upgrade parameters and options are caught.
41 # 2. For each option in the list, try 'zfs upgrade'.
50 log_assert "Badly-formed 'zfs upgrade' should return an error."
54 log_mustnot zfs upgrade ${args[i]}
58 log_pass "Badly-formed 'zfs upgrade' fail as expected."
H A Dzfs_upgrade_007_neg.ksh41 # 1. For each invalid value of version in the list, try 'zfs upgrade -V version'.
55 log_mustnot zfs upgrade -V ${args[i]} $TESTPOOL/$TESTFS
H A Dzfs_upgrade_002_pos.ksh37 # Executing 'zfs upgrade -v ' command succeeds, it should
41 # 1. Execute 'zfs upgrade -v', verify return value is 0.
54 log_assert "Executing 'zfs upgrade -v' command succeeds."
61 log_must eval 'zfs upgrade -v > /dev/null 2>&1'
63 zfs upgrade -v | nawk '$1 ~ "^[0-9]+$" {print $0}'> $output
67 log_pass "Executing 'zfs upgrade -v' command succeeds."
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dproperties.kshlib78 $ZFS upgrade -v > /dev/null 2>&1

Completed in 117 milliseconds

12345