/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/ |
H A D | removal_multiple_indirection.ksh | 69 log_must dd if=/dev/urandom of=$TESTDIR/$TESTFILE0 bs=128k count=1 70 FILE_CONTENTS=`cat $TESTDIR/$TESTFILE0` 71 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ] 80 log_must dd if=$TESTDIR/$TESTFILE0 of=/dev/null 81 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ] 89 log_must dd if=$TESTDIR/$TESTFILE0 of=/dev/null 90 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ]
|
H A D | removal_sanity.ksh | 29 echo $FILE_CONTENTS >$TESTDIR/$TESTFILE0 30 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ] 36 log_must dd if=/$TESTDIR/$TESTFILE0 of=/dev/null 37 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ]
|
H A D | removal_with_ganging.ksh | 42 echo $FILE_CONTENTS >$TESTDIR/$TESTFILE0 43 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ] 50 log_must dd if=/$TESTDIR/$TESTFILE0 of=/dev/null 51 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ]
|
H A D | remove_mirror_sanity.ksh | 42 echo $FILE_CONTENTS >$TESTDIR/$TESTFILE0 43 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ] 55 log_must dd if=/$TESTDIR/$TESTFILE0 of=/dev/null 56 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ]
|
H A D | removal_with_dedup.ksh | 31 echo $FILE_CONTENTS >$TESTDIR/$TESTFILE0 34 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ] 42 log_must dd if=/$TESTDIR/$TESTFILE0 of=/dev/null 45 log_must [ "x$(cat $TESTDIR/$TESTFILE0)" = "x$FILE_CONTENTS" ]
|
H A D | removal.kshlib | 137 log_must mkfile 1g $TESTDIR/$TESTFILE0 139 random_write $TESTDIR/$TESTFILE0 $((2**12)) || \ 140 log_fail "Could not write to $TESTDIR/$TESTFILE0." 142 start_random_writer $TESTDIR/$TESTFILE0 1g
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | send_encrypted_props.ksh | 78 log_must mkfile 1M /$TESTPOOL/ds/$TESTFILE0 79 log_must cp /$TESTPOOL/ds/$TESTFILE0 /$TESTPOOL/crypt/$TESTFILE0 80 typeset cksum=$(digest -a md5 /$TESTPOOL/ds/$TESTFILE0) 133 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0) 149 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0) 167 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0) 181 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0) 195 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0) 209 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_001_pos.ksh | 74 [[ -e ${mtpts[i]}/$TESTFILE0 ]] && \ 75 log_must rm -rf ${mtpts[i]}/$TESTFILE0 102 log_must cp $MYTESTFILE ${mtpts[i]}/$TESTFILE0 125 [[ ! -e $basedir/$TESTFILE0 ]] && \ 126 log_fail "$basedir/$TESTFILE0 missing after import." 128 checksum2=$(sum $basedir/$TESTFILE0 | awk '{print $1}')
|
H A D | zpool_import_002_pos.ksh | 73 [[ -e ${mtpts[i]}/$TESTFILE0 ]] && \ 74 log_must rm -rf ${mtpts[i]}/$TESTFILE0 102 log_must cp $MYTESTFILE ${mtpts[i]}/$TESTFILE0 126 [[ ! -e $basedir/$TESTFILE0 ]] && \ 127 log_fail "$basedir/$TESTFILE0 missing after import." 129 checksum2=$(sum $basedir/$TESTFILE0 | awk '{print $1}')
|
H A D | zpool_import_all_001_pos.ksh | 66 log_must cp $MYTESTFILE $mtpt/$TESTFILE0 103 [[ -e $TESTDIR/$TESTFILE0 ]] && \ 104 log_must rm -rf $TESTDIR/$TESTFILE0 132 file=${alter_root}/$TESTDIR/$TESTFILE0 134 file=${alter_root}/$TESTDIR.$id/$TESTFILE0 158 log_must cp $MYTESTFILE $TESTDIR/$TESTFILE0
|
H A D | zpool_import_rename_001_pos.ksh | 82 [[ -e ${mtpts[i]}/$TESTFILE0 ]] && \ 83 log_must rm -rf ${mtpts[i]}/$TESTFILE0 112 log_must cp $MYTESTFILE ${mtpts[i]}/$TESTFILE0 140 [[ ! -e $basedir/$TESTFILE0 ]] && \ 141 log_fail "$basedir/$TESTFILE0 missing after import." 143 checksum2=$(sum $basedir/$TESTFILE0 | awk '{print $1}')
|
H A D | zpool_import_missing_001_pos.ksh | 120 log_must cp $MYTESTFILE $TESTDIR1/$TESTFILE0 186 [[ ! -e $basedir/$TESTFILE0 ]] && \ 187 log_fail "$basedir/$TESTFILE0 missing after import." 189 checksum2=$(sum $basedir/$TESTFILE0 | awk '{print $1}')
|
H A D | zpool_import_missing_003_pos.ksh | 185 log_must cp $MYTESTFILE $TESTDIR1/$TESTFILE0 192 log_must cp $MYTESTFILE $TESTDIR2/$TESTFILE0 214 "DEGRADED" "$TESTFILE0" "$checksum1" 218 "ONLINE" "$TESTFILE0" "$checksum1"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/no_space/ |
H A D | enospc_001_pos.ksh | 51 rm -f $TESTDIR/$TESTFILE0 60 log_note "Writing file: $TESTFILE0 until ENOSPC." 61 file_write -o create -f $TESTDIR/$TESTFILE0 -b $BLOCKSZ \ 66 log_fail "$TESTFILE0 returned: $ret rather than ENOSPC."
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/compression/ |
H A D | compress_001_pos.ksh | 55 log_must file_write -o $OP -f $TESTDIR/$TESTFILE0 -b $BLOCKSZ \ 66 FILE0_BLKS=`du -k $TESTDIR/$TESTFILE0 | awk '{ print $1}'` 70 log_fail "$TESTFILE0 is smaller than $TESTFILE1" \ 74 log_pass "$TESTFILE0 is bigger than $TESTFILE1 ($FILE0_BLKS > $FILE1_BLKS)"
|
H A D | compress_002_pos.ksh | 57 log_must file_write -o $OP -f $TESTDIR1/$TESTFILE0 -b $BLOCKSZ \ 68 FILE0_BLKS=`du -k $TESTDIR1/$TESTFILE0 | awk '{ print $1}'` 72 log_fail "$TESTFILE0 is smaller than $TESTFILE1" \ 76 log_pass "$TESTFILE0 is bigger than $TESTFILE1 ($FILE0_BLKS > $FILE1_BLKS)"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename.kshlib | 36 log_must cp $DATA $TESTDIR/$TESTFILE0 37 log_must cp $DATA $TESTDIR1/$TESTFILE0 51 log_must cp $DATA $(get_prop mountpoint $TESTPOOL/$TESTFS1)/$TESTFILE0 56 log_must cp $DATA $(get_prop mountpoint $TESTPOOL/$TESTCTR1)/$TESTFILE0 63 log_must cp $DATA $(get_prop mountpoint $TESTPOOL/$TESTVOL)/$TESTFILE0
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_001_pos.ksh | 102 $mpt_dir/$TESTFILE0)" 103 log_note "mkbusy $mpt_dir/$TESTFILE0 " \ 113 $TESTDIR1/$TESTFILE0)" 114 log_note "mkbusy $TESTDIR1/$TESTFILE0 " \ 124 $TESTDIR1/$TESTFILE0)" 125 log_note "mkbusy $TESTDIR1/$TESTFILE0 " \
|
H A D | zfs_destroy_005_neg.ksh | 104 pidlist=$(mkbusy $mntpt/$TESTFILE0) 105 log_note "mkbusy $mntpt/$TESTFILE0 (pidlist: $pidlist)" 153 pidlist=$(mkbusy $TESTDIR1/$TESTFILE0) 154 log_note "mkbusy $TESTDIR1/$TESTFILE0 (pidlist: $pidlist)"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_from_encrypted.ksh | 62 log_must mkfile 1M /$TESTPOOL/$TESTFS2/$TESTFILE0 63 typeset checksum=$(digest -a md5 /$TESTPOOL/$TESTFS2/$TESTFILE0) 73 typeset cksum1=$(digest -a md5 /$TESTPOOL/$TESTFS1/c1/$TESTFILE0) 80 typeset cksum2=$(digest -a md5 /$TESTPOOL/$TESTFS2/c1/$TESTFILE0)
|
H A D | zfs_receive_raw.ksh | 63 log_must mkfile 1M /$TESTPOOL/$TESTFS1/$TESTFILE0 64 typeset checksum=$(digest -a md5 /$TESTPOOL/$TESTFS1/$TESTFILE0) 77 typeset cksum1=$(digest -a md5 /$TESTPOOL/$TESTFS2/$TESTFILE0) 88 typeset cksum2=$(digest -a md5 /$TESTPOOL/$TESTFS1/c1/$TESTFILE0)
|
H A D | zfs_receive_raw_incremental.ksh | 71 log_must mkfile 1M /$TESTPOOL/$TESTFS1/$TESTFILE0 72 typeset checksum=$(digest -a md5 /$TESTPOOL/$TESTFS1/$TESTFILE0) 92 typeset cksum1=$(digest -a md5 /$TESTPOOL/$TESTFS2/$TESTFILE0)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | readonly_001_pos.ksh | 63 log_must touch $mtpt/$TESTFILE0 77 log_must rm -f $mtpt/$TESTFILE0 105 $expect eval "echo 'y' | rm $mtpt/$TESTFILE0" 111 log_must touch $mtpt/$TESTFILE0
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/ |
H A D | zfs_promote_007_neg.ksh | 54 for data in $TESTDIR/$TESTFILE0 $TESTDIR/$TESTFILE1; do 67 log_must mkfile $FILESIZE $TESTDIR/$TESTFILE0 70 log_must rm -f $TESTDIR/$TESTFILE0
|
H A D | zfs_promote_002_pos.ksh | 58 for file in $TESTDIR/$TESTFILE0 $TESTDIR/$TESTFILE1; do 74 log_must mkfile $FILESIZE $TESTDIR/$TESTFILE0 77 log_must rm -f $testdir/$TESTFILE0
|