diff options
Diffstat (limited to 'usr/src/test')
19 files changed, 45 insertions, 45 deletions
diff --git a/usr/src/test/crypto-tests/doc/README b/usr/src/test/crypto-tests/doc/README index 0c848ac735..3bc99b40f2 100644 --- a/usr/src/test/crypto-tests/doc/README +++ b/usr/src/test/crypto-tests/doc/README @@ -45,7 +45,7 @@ depends on it. 2. Running the KCF/PKCS Unit Test Suite The pre-requisites for running the KCF/PKCS Unit Test Suite are: - - A non-root user with the ability to sudo(1M) to root without a + - A non-root user with the ability to sudo(8) to root without a password or the root user must run the test. Once the pre-requisites are satisfied, simply run the cryptotest script: diff --git a/usr/src/test/libmlrpc-tests/doc/README b/usr/src/test/libmlrpc-tests/doc/README index 43412a4747..c24c97b5ff 100644 --- a/usr/src/test/libmlrpc-tests/doc/README +++ b/usr/src/test/libmlrpc-tests/doc/README @@ -45,7 +45,7 @@ depends on it. 2. Running this Unit Test Suite The pre-requisites for running the this Unit Test Suite are: - - A non-root user with the ability to sudo(1M) to root without a + - A non-root user with the ability to sudo(8) to root without a password or the root user must run the test. (The samlogon test requires a user with 'solaris.smf.read.smb' authorization, such as root.) diff --git a/usr/src/test/os-tests/doc/README b/usr/src/test/os-tests/doc/README index 7e8f5236e8..9a5b881e8a 100644 --- a/usr/src/test/os-tests/doc/README +++ b/usr/src/test/os-tests/doc/README @@ -44,7 +44,7 @@ depends on it. 2. Running the OS Unit Test Suite The pre-requisites for running the OS Unit Test Suite are: - - A non-root user with the ability to sudo(1M) to root without a + - A non-root user with the ability to sudo(8) to root without a password or the root user must run the test. Once the pre-requisites are satisfied, simply run the ostest script: diff --git a/usr/src/test/test-runner/man/run.1 b/usr/src/test/test-runner/man/run.1 index 31cd412452..9ba7ea813c 100644 --- a/usr/src/test/test-runner/man/run.1 +++ b/usr/src/test/test-runner/man/run.1 @@ -80,7 +80,7 @@ executed, and the remaining tests are marked "SKIPPED." Any test that exceeds its \fItimeout\fR is terminated, and marked "KILLED." By default, tests are executed with the credentials of the \fBrun\fR script. -Executing tests with other credentials is done via \fBsudo\fR(1m), which must +Executing tests with other credentials is done via \fBsudo\fR(8), which must be configured to allow execution without prompting for a password. Environment variables from the calling shell are available to individual tests. During test execution, the working directory is changed to \fIoutputdir\fR. @@ -367,4 +367,4 @@ An error occurred. .SH SEE ALSO .sp .LP -\fBsudo\fR(1m) +\fBsudo\fR(8) diff --git a/usr/src/test/zfs-tests/doc/README b/usr/src/test/zfs-tests/doc/README index d7af3457f7..064fa3bbe0 100644 --- a/usr/src/test/zfs-tests/doc/README +++ b/usr/src/test/zfs-tests/doc/README @@ -52,7 +52,7 @@ The pre-requisites for running the ZFS Test Suite are: - Use the '-a' option to the zfstest script and all unused disks on the system are eligible. With '-a' specified, $DISKS is ignored. - A non-root user with the full set of basic privileges and the ability - to sudo(1M) to root without a password to run the test. + to sudo(8) to root without a password to run the test. - Specify any pools you wish to preserve as a space delimited list in the $KEEP variable. The root pool is added automatically. diff --git a/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh b/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh index 54a7ee8456..de535300d0 100644 --- a/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh @@ -39,7 +39,7 @@ # STRATEGY: # 1. Create filesystems with copies set as 2,3 respectively; # 2. Copy specified size data into each filesystem; -# 3. Verify that the space is charged as expected with zfs list, ls -s, df(1m), +# 3. Verify that the space is charged as expected with zfs list, ls -s, df(8), # du(1) commands; # @@ -87,7 +87,7 @@ for val in 1 2 3; do check_used $used $val done -log_note "Verify df(1M) can corectly display the space charged." +log_note "Verify df(8) can corectly display the space charged." for val in 1 2 3; do used=`df -F zfs -h /$TESTPOOL/fs_$val/$FILE | grep $TESTPOOL/fs_$val \ | awk '{print $3}'` diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_001_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_001_pos.ksh index 68e714a89f..5c4d9b0db0 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_001_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_001_pos.ksh @@ -34,7 +34,7 @@ # # DESCRIPTION: -# Ensure that the clri(1M) utility fails on a ZFS file system. +# Ensure that the clri(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS directory with a number of files. @@ -51,7 +51,7 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the clri(1M) utility fails on a ZFS file system." +log_assert "Ensure that the clri(8) utility fails on a ZFS file system." populate_dir $NUM_FILES @@ -59,4 +59,4 @@ inode=`ls -i $TESTDIR/$TESTFILE.0 | awk '{print $1}'` log_mustnot clri /dev/rdsk/$DISK $inode log_mustnot clri -F zfs /dev/rdsk/$DISK $inode -log_pass "clri(1M) returned an error as expected." +log_pass "clri(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_002_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_002_pos.ksh index 81c7ab1bad..7ff89d9968 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_002_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_002_pos.ksh @@ -34,11 +34,11 @@ # # DESCRIPTION: -# Ensure that the labelit(1M) utility fails on a ZFS file system. +# Ensure that the labelit(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS file system with some files. -# 2. Run labelit(1M) against the device. +# 2. Run labelit(8) against the device. # 3. Ensure it fails. # @@ -55,7 +55,7 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the labelit(1M) utility fails on a ZFS file system." +log_assert "Ensure that the labelit(8) utility fails on a ZFS file system." populate_dir $NUM_FILES @@ -63,4 +63,4 @@ log_must zfs unmount $TESTDIR log_mustnot labelit /dev/rdsk/${DISK}s0 mfiles ${DISK}s0 -log_pass "labelit(1M) returned an error as expected." +log_pass "labelit(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_003_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_003_pos.ksh index 3678d76332..82bc6a1df4 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_003_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_003_pos.ksh @@ -34,7 +34,7 @@ # # DESCRIPTION: -# Ensure that the fsdb(1M) utility fails on a ZFS file system. +# Ensure that the fsdb(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS directory with a number of files. @@ -51,7 +51,7 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the fsdb(1M) utility fails on a ZFS file system." +log_assert "Ensure that the fsdb(8) utility fails on a ZFS file system." populate_dir $NUM_FILES inode_num=`ls -li $TESTDIR/$TESTFILE.0 | awk '{print $1}'` @@ -60,4 +60,4 @@ inode_num=`ls -li $TESTDIR/$TESTFILE.0 | awk '{print $1}'` log_mustnot echo ":inode $inode_num" | fsdb /dev/rdsk/${DISK}s0 -log_pass "fsdb(1M) returned an error as expected." +log_pass "fsdb(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_004_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_004_pos.ksh index 74241a1e57..31d4908394 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_004_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_004_pos.ksh @@ -34,7 +34,7 @@ # # DESCRIPTION: -# Ensure that the quotaon(1M) utility fails on a ZFS file system. +# Ensure that the quotaon(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Enable a quota on a ZFS file system. @@ -51,10 +51,10 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the quotaon(1M) utility fails on a ZFS file system." +log_assert "Ensure that the quotaon(8) utility fails on a ZFS file system." log_must zfs set quota=1099511627776 $TESTPOOL/$TESTFS log_must touch $TESTDIR/quotas log_mustnot quotaon /dev/dsk/${DISK}s0 -log_pass "quotaon(1M) returned an error as expected." +log_pass "quotaon(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_005_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_005_pos.ksh index 775105a904..7971a8c7e3 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_005_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_005_pos.ksh @@ -34,11 +34,11 @@ # # DESCRIPTION: -# Ensure that the ff(1M) utility fails on a ZFS file system. +# Ensure that the ff(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS file system with some files. -# 2. Run ff(1M) against the device. +# 2. Run ff(8) against the device. # 3. Ensure it fails. # @@ -51,10 +51,10 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the ff(1M) utility fails on a ZFS file system." +log_assert "Ensure that the ff(8) utility fails on a ZFS file system." populate_dir $NUM_FILES log_mustnot ff -F zfs /dev/rdsk/${DISK}s0 -log_pass "ff(1M) returned an error as expected." +log_pass "ff(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_006_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_006_pos.ksh index 9c610f74c3..e3a50ec185 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_006_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_006_pos.ksh @@ -34,11 +34,11 @@ # # DESCRIPTION: -# Ensure that the fsirand(1M) utility fails on a ZFS file system. +# Ensure that the fsirand(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS file system with some files. -# 2. Run fsirand(1M) against the device. +# 2. Run fsirand(8) against the device. # 3. Ensure it fails. # @@ -55,7 +55,7 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the fsirand(1M) utility fails on a ZFS file system." +log_assert "Ensure that the fsirand(8) utility fails on a ZFS file system." populate_dir $NUM_FILES @@ -63,4 +63,4 @@ log_must zfs unmount $TESTDIR log_mustnot fsirand /dev/rdsk/${DISK}s0 -log_pass "fsirand(1M) returned an error as expected." +log_pass "fsirand(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_007_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_007_pos.ksh index ecb37900c7..2ed6ef2170 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_007_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_007_pos.ksh @@ -34,11 +34,11 @@ # # DESCRIPTION: -# Ensure that the fstyp(1M) utility succeeds on a ZFS file system. +# Ensure that the fstyp(8) utility succeeds on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS file system with some files. -# 2. Run fstyp(1M) against the device. +# 2. Run fstyp(8) against the device. # 3. Ensure it fails. # @@ -55,7 +55,7 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the fstyp(1M) utility succeeds on a ZFS file system." +log_assert "Ensure that the fstyp(8) utility succeeds on a ZFS file system." populate_dir $NUM_FILES @@ -67,4 +67,4 @@ else log_must fstyp /dev/rdsk/${DISK}s0 fi -log_pass "fstyp(1M) returned successfully." +log_pass "fstyp(8) returned successfully." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_008_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_008_pos.ksh index c736265110..0f86150e42 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_008_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_008_pos.ksh @@ -34,11 +34,11 @@ # # DESCRIPTION: -# Ensure that the ncheck(1M) utility fails on a ZFS file system. +# Ensure that the ncheck(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS file system with some files. -# 2. Run ncheck(1M) against the device. +# 2. Run ncheck(8) against the device. # 3. Ensure it fails. # @@ -55,7 +55,7 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the ncheck(1M) utility fails on a ZFS file system." +log_assert "Ensure that the ncheck(8) utility fails on a ZFS file system." populate_dir $NUM_FILES @@ -63,4 +63,4 @@ log_must zfs unmount $TESTDIR log_mustnot ncheck /dev/rdsk/${DISK}s0 -log_pass "ncheck(1M) returned an error as expected." +log_pass "ncheck(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_009_pos.ksh b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_009_pos.ksh index b7dc013ab5..916e29eaca 100644 --- a/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_009_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/utils_test/utils_test_009_pos.ksh @@ -34,11 +34,11 @@ # # DESCRIPTION: -# Ensure that the tunefs(1M) utility fails on a ZFS file system. +# Ensure that the tunefs(8) utility fails on a ZFS file system. # # STRATEGY: # 1. Populate a ZFS file system with some files. -# 2. Run tunefs(1M) against the device. +# 2. Run tunefs(8) against the device. # 3. Ensure it fails. # @@ -51,10 +51,10 @@ function cleanup log_onexit cleanup -log_assert "Ensure that the tunefs(1M) utility fails on a ZFS file system." +log_assert "Ensure that the tunefs(8) utility fails on a ZFS file system." populate_dir $NUM_FILES log_mustnot tunefs -m 80 /dev/dsk/${DISK}s0 -log_pass "tunefs(1M) returned an error as expected." +log_pass "tunefs(8) returned an error as expected." diff --git a/usr/src/test/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh b/usr/src/test/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh index 6b3feeafc0..6d88f710fa 100644 --- a/usr/src/test/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh +++ b/usr/src/test/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh @@ -35,7 +35,7 @@ # Creating and writing xattrs on files in snapshot directories fails. Also, # we shouldn't be able to list the xattrs of files in snapshots who didn't have # xattrs when the snapshot was created (the xattr namespace wouldn't have been -# created yet, and snapshots are read-only) See fsattr(5) for more details. +# created yet, and snapshots are read-only) See fsattr(7) for more details. # # STRATEGY: # 1. Create a file and add an xattr to it. diff --git a/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh b/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh index 2fc112ad1b..a8e7778d7e 100644 --- a/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh +++ b/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh @@ -37,7 +37,7 @@ verify_runnable "global" default_zvol_setup $DISK $VOLSIZE echo "y" | newfs -v /dev/zvol/rdsk/$TESTPOOL/$TESTVOL >/dev/null 2>&1 -(( $? != 0 )) && log_fail "Unable to newfs(1M) $TESTPOOL/$TESTVOL" +(( $? != 0 )) && log_fail "Unable to newfs(8) $TESTPOOL/$TESTVOL" log_must mkdir $TESTDIR log_must mount /dev/zvol/dsk/$TESTPOOL/$TESTVOL $TESTDIR diff --git a/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh b/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh index dfb5d2b996..1e528171cc 100644 --- a/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh +++ b/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh @@ -68,7 +68,7 @@ NUM_WRITES=40 log_must zfs set volsize=128m $TESTPOOL/$TESTVOL echo "y" | newfs -v /dev/zvol/rdsk/$TESTPOOL/$TESTVOL >/dev/null 2>&1 -(( $? != 0 )) && log_fail "Unable to newfs(1M) $TESTPOOL/$TESTVOL" +(( $? != 0 )) && log_fail "Unable to newfs(8) $TESTPOOL/$TESTVOL" log_must mkdir $TESTDIR log_must mount /dev/zvol/dsk/$TESTPOOL/$TESTVOL $TESTDIR diff --git a/usr/src/test/zfs-tests/tests/longevity/slop_space_test.ksh b/usr/src/test/zfs-tests/tests/longevity/slop_space_test.ksh index ac61f961ab..f76a893a57 100644 --- a/usr/src/test/zfs-tests/tests/longevity/slop_space_test.ksh +++ b/usr/src/test/zfs-tests/tests/longevity/slop_space_test.ksh @@ -169,7 +169,7 @@ do # properties in one zfs command and reducing # the overhead caused by the number of times # we wait for a txg to sync (e.g. equal to the - # number of times we execute zfs(1m)) + # number of times we execute zfs(8)) # PROPERTIES="" for j in {1..100} |
