Lines Matching refs:TESTFS

74 log_must zfs create $TESTPOOL/$TESTFS
81 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \
94 log_must touch /$TESTPOOL/$TESTFS/a
97 log_must mv /$TESTPOOL/$TESTFS/a /$TESTPOOL/$TESTFS/b
100 log_must touch /$TESTPOOL/$TESTFS/c
101 log_must ln -s /$TESTPOOL/$TESTFS/c /$TESTPOOL/$TESTFS/d
104 log_must touch /$TESTPOOL/$TESTFS/e
105 log_must ln /$TESTPOOL/$TESTFS/e /$TESTPOOL/$TESTFS/f
108 log_must mkdir /$TESTPOOL/$TESTFS/dir_to_delete
111 log_must rmdir /$TESTPOOL/$TESTFS/dir_to_delete
115 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/payload bs=1k count=8
116 typeset checksum=$(sha256digest /$TESTPOOL/$TESTFS/payload)
119 log_must mkfile 1k /$TESTPOOL/$TESTFS/small_file
120 log_must mkfile 512b /$TESTPOOL/$TESTFS/small_file
123 log_must cp -R /usr/dict /$TESTPOOL/$TESTFS
124 log_must rm -rf /$TESTPOOL/$TESTFS/dict
127 log_must touch /$TESTPOOL/$TESTFS/setattr
128 log_must chmod 567 /$TESTPOOL/$TESTFS/setattr
129 log_must chgrp root /$TESTPOOL/$TESTFS/setattr
130 log_must touch -cm -t 201311271200 /$TESTPOOL/$TESTFS/setattr
133 log_must mkfile 4k /$TESTPOOL/$TESTFS/truncated_file
134 log_must truncate -s 0 /$TESTPOOL/$TESTFS/truncated_file
137 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/large \
141 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.1 bs=128k count=8
142 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.1 bs=128k count=2
144 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.2 bs=128k count=8
145 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.2 bs=128k count=2 seek=2
147 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.3 bs=128k count=8
148 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.3 bs=128k count=2 \
164 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/link_and_unlink bs=128k \
166 log_must ln /$TESTPOOL/$TESTFS/link_and_unlink \
167 /$TESTPOOL/$TESTFS/link_and_unlink.link
168 log_must rm /$TESTPOOL/$TESTFS/link_and_unlink.link
174 log_must cp -a /$TESTPOOL/$TESTFS/* $TESTDIR/copy/
182 log_must zfs unmount /$TESTPOOL/$TESTFS
185 log_must zdb -iv $TESTPOOL/$TESTFS
208 log_must diff -r /$TESTPOOL/$TESTFS $TESTDIR/copy
211 typeset checksum1=$(sha256digest /$TESTPOOL/$TESTFS/payload)