# 4. Attempt to receive a raw send stream as a child of an unencrypted dataset
# 5. Verify the key is unavailable
# 6. Attempt to load the key and mount the dataset
-# 7. Verify the cheksum of the file is the same as the original
+# 7. Verify the checksum of the file is the same as the original
# 8. Attempt to receive a raw send stream as a child of an encrypted dataset
# 9. Verify the key is unavailable
# 10. Attempt to load the key and mount the dataset
-# 11. Verify the cheksum of the file is the same as the original
+# 11. Verify the checksum of the file is the same as the original
#
verify_runnable "both"
}
#
-# Clean up the test environmnet
+# Clean up the test environment
#
# $1 number of snapshot Note: Currently only support three snapshots.
#
snap3=$fs@snap3
set -A badargs \
- "" "$TESTPOOL" "$TESTFS" "$fs" "$fs@nonexisten_snap" "?" \
+ "" "$TESTPOOL" "$TESTFS" "$fs" "$fs@nonexistent_snap" "?" \
"$snap1/blah" "$snap1@blah" "-i" "-x" "-i $fs" \
"-x $snap1 $snap2" "-i $snap1" \
"-i $snap2 $snap1" "$snap1 $snap2" "-i $snap1 $snap2 $snap3" \
done
done
-log_pass "Setting invalid {primary|secondary}cache on fs or volume fail as expeced."
+log_pass "Setting invalid {primary|secondary}cache on fs or volume fail as expected."
#
# STRATEGY:
# 1. Setup a pool and create fs, volume, snapshot clone within it.
-# 2. Set canmount=noauto for each dataset and check the retuen value
+# 2. Set canmount=noauto for each dataset and check the return value
# and check if it still can be mounted by mount -a.
# 3. mount each dataset(except volume) to see if it can be mounted.
#
#
# DESCRIPTION:
-# If ZFS is currently managing the file system but it is currently unmoutned,
+# If ZFS is currently managing the file system but it is currently unmounted,
# and the mountpoint property is changed, the file system remains unmounted.
#
# STRATEGY:
}
#
-# Get vaild user defined property name
+# Get valid user defined property name
#
# $1 user defined property name length
#
}
#
-# Get invaild user defined property name
+# Get invalid user defined property name
#
# $1 user defined property name length
#
((i = i + 1))
done
-# Testing the invalid senario: the child volume already has an
+# Testing the invalid scenario: the child volume already has an
# identical name snapshot, zfs snapshot -r should fail when
# creating snapshot with -r for the parent
log_must zfs destroy $TESTPOOL/$TESTCTR/$TESTFS1@$TESTSNAP
# STRATEGY:
# 1. Create 2 separate zpools, zpool name lengths must be the same.
# 2. Attempt to simultaneously create a snapshot of each pool.
-# 3. Veriy the snapshot creation failed.
+# 3. Verify the snapshot creation failed.
#
verify_runnable "both"
# 1. Create multiple datasets
# 2. Create multiple snapshots with a list of valid and invalid
# snapshot names
-# 3. Verify the valid snpashot creation
+# 3. Verify the valid snapshot creation
. $STF_SUITE/include/libtest.shlib
txg_tag=$(echo "$txg_group" | nawk -v j=$i 'FNR == j {print}')
[[ $txg_tag != $(echo "$txg_group" | \
nawk -v j=$i 'FNR == j {print}') ]] \
- && log_fail "snapshots belong to differnt transaction groups"
+ && log_fail "snapshots belong to different transaction groups"
done
log_note "verify snapshot contents"
for ds in $datasets; do
}
-log_assert "zfs fource unmount and destroy in snapshot directory will not cause error."
+log_assert "zfs force unmount and destroy in snapshot directory will not cause error."
log_onexit cleanup
for fs in $TESTPOOL/$TESTFS $TESTPOOL ; do
log_must eval zpool status > /dev/null 2>&1
zpool iostat > /dev/null 2>&1
-log_pass "zfs fource unmount and destroy in snapshot directory will not cause error."
+log_pass "zfs force unmount and destroy in snapshot directory will not cause error."
((i = i + 2))
done
-log_note "Verify 'zfs unshare -a' succeds as root."
+log_note "Verify 'zfs unshare -a' succeeds as root."
i=0
typeset sharenfs_val
export NONEXISTFSNAME="nonexistfs50charslong_0123456789012345678901234567"
export NONEXISTMOUNTPOINT="/nonexistmountpoint_0123456789"
-set -A opts "" "$TESTPOOL/$NONEXISTFSNAME" "$NONEEXISTMOUNTPOINT" "-?" "-1" \
+set -A opts "" "$TESTPOOL/$NONEXISTFSNAME" "$NONEXISTMOUNTPOINT" "-?" "-1" \
"-a blah" "$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS1" \
"-f $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS1" \
"$TESTPOOL/$TESTFS $TESTDIR" "-f $TESTPOOL/$TESTFS $TESTDIR" \
if (( COUNT != OLDCOUNT )); then
cat $output
- log_fail "Unexpect old-version filesystems print out."
+ log_fail "Unexpected old-version filesystems print out."
fi
log_pass "Executing 'zfs upgrade' command succeeds."
# return an error.
#
# STRATEGY:
-# 1. Create an array containg each zpool sub-command name.
+# 1. Create an array containing each zpool sub-command name.
# 2. For each element, execute the sub-command.
# 3. Verify it returns an error.
#