Lines Matching refs:atf_check
48 atf_check test -n "$zpool"
58 atf_check mkdir -p ${mnt}
59 atf_check truncate -s 1G ${disk}
60 atf_check zpool create -R ${mnt} ${zpool} ${disk}
61 atf_check zfs create -o mountpoint=none ${zpool}/ROOT
62 atf_check zfs create -o mountpoint=/ -o canmount=noauto \
72 atf_check test -n "$zpool"
75 atf_check mkdir -p ${root}
76 atf_check -o ignore bectl -r ${zpool}/ROOT mount default ${root}
77 atf_check mkdir -p ${root}/usr
78 atf_check zfs create -o mountpoint=/usr -o canmount=noauto \
80 atf_check -o ignore bectl -r ${zpool}/ROOT umount default
120 atf_check zfs create -o mountpoint=/usr -o canmount=noauto \
124 atf_check -e not-empty -s not-exit:0 \
129 atf_check bectl -r ${zpool}/ROOT create -e default default2
130 atf_check bectl -r ${zpool}/ROOT create default2@test_snap
131 atf_check bectl -r ${zpool}/ROOT create -e default2@test_snap default3
135 atf_check bectl -r ${zpool}/ROOT create -r -e default recursive
136 atf_check bectl -r ${zpool}/ROOT create -r recursive@test_snap
137 atf_check bectl -r ${zpool}/ROOT create -r -e recursive@test_snap recursive-snap
140 atf_check -e not-empty -s not-exit:0 \
142 atf_check -e not-empty -s not-exit:0 \
146 atf_check -o not-empty \
148 atf_check -o not-empty \
181 atf_check bectl -r ${zpool}/ROOT create -e default default2
182 atf_check -o not-empty zfs get mountpoint ${zpool}/ROOT/default2
183 atf_check -e ignore bectl -r ${zpool}/ROOT destroy default2
184 atf_check -e not-empty -s not-exit:0 zfs get mountpoint ${zpool}/ROOT/default2
188 atf_check mkdir -p ${root}
189 atf_check -o not-empty bectl -r ${zpool}/ROOT mount default ${root}
190 atf_check bectl -r ${zpool}/ROOT create -e default default3
191 atf_check bectl -r ${zpool}/ROOT destroy -o default3
192 atf_check bectl -r ${zpool}/ROOT unmount default
195 atf_check bectl -r ${zpool}/ROOT create -e default default2
196 atf_check bectl -r ${zpool}/ROOT create -e default default3
197 atf_check bectl -r ${zpool}/ROOT destroy default
198 atf_check bectl -r ${zpool}/ROOT destroy default2
199 atf_check bectl -r ${zpool}/ROOT rename default3 default
210 atf_check bectl -r ${zpool}/ROOT create -e default default2
212 atf_check bectl -r ${zpool}/ROOT create -e default2 default3
214 atf_check bectl -r ${zpool}/ROOT create -e default3 default4
215 atf_check bectl -r ${zpool}/ROOT destroy default3
216 atf_check bectl -r ${zpool}/ROOT destroy default2
217 atf_check bectl -r ${zpool}/ROOT destroy default4
224 atf_check bectl -r ${zpool}/ROOT create -e default default2
225 atf_check bectl -r ${zpool}/ROOT create default@test
227 atf_check bectl -r ${zpool}/ROOT destroy default@test
228 atf_check -o inline:"-\n" zfs get -Ho value origin ${zpool}/ROOT/default
229 atf_check bectl -r ${zpool}/ROOT destroy default2
233 atf_check bectl -r ${zpool}/ROOT create default@test
234 atf_check bectl -r ${zpool}/ROOT create -e default@test default2
236 atf_check -e not-empty -s not-exit:0 bectl -r ${zpool}/ROOT destroy \
268 atf_check -o save:exported bectl -r ${zpool}/ROOT export default
269 atf_check -x "bectl -r ${zpool}/ROOT import default2 < exported"
270 atf_check -o not-empty zfs get mountpoint ${zpool}/ROOT/default2
271 atf_check -e ignore bectl -r ${zpool}/ROOT destroy default2
272 atf_check -e not-empty -s not-exit:0 zfs get mountpoint \
308 atf_check -o save:list.out bectl -r ${zpool}/ROOT list
309 atf_check -o not-empty grep 'default' list.out
310 atf_check bectl -r ${zpool}/ROOT create -e default default2
311 atf_check -o save:list.out bectl -r ${zpool}/ROOT list
312 atf_check -o not-empty grep 'default2' list.out
313 atf_check -e ignore bectl -r ${zpool}/ROOT destroy default2
314 atf_check -o save:list.out bectl -r ${zpool}/ROOT list
315 atf_check -s not-exit:0 grep 'default2' list.out
348 atf_check mkdir -p ${root}
350 atf_check -o not-empty bectl -r ${zpool}/ROOT mount default ${root}
351 atf_check -o not-empty -x "mount | grep '^${zpool}/ROOT/default'"
352 atf_check bectl -r ${zpool}/ROOT unmount default
353 atf_check -s not-exit:0 -x "mount | grep '^${zpool}/ROOT/default'"
355 atf_check -o not-empty bectl -r ${zpool}/ROOT mount default ${root}
356 atf_check -o not-empty -x "mount | grep '^${zpool}/ROOT/default'"
357 atf_check bectl -r ${zpool}/ROOT umount default
358 atf_check -s not-exit:0 -x "mount | grep '^${zpool}/ROOT/default'"
389 atf_check bectl -r ${zpool}/ROOT rename default default2
390 atf_check -o not-empty zfs get mountpoint ${zpool}/ROOT/default2
391 atf_check -e not-empty -s not-exit:0 zfs get mountpoint \
429 atf_check mkdir -p ${root}
430 atf_check -o ignore bectl -r ${zpool}/ROOT mount default ${root}
431 atf_check mkdir -p ${root}/rescue
432 atf_check cp /rescue/rescue ${root}/rescue/rescue
433 atf_check bectl -r ${zpool}/ROOT umount default
436 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT create -e default target
437 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT create -e default 1234
442 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT jail -b 1234
443 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT unjail 1234
446 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT jail -b -o jid=233637 default
447 atf_check -o inline:"233637\n" -s exit:0 -x "jls -j 233637 name"
448 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT unjail default
451 atf_check -o inline:"rescue\nusr\n" bectl -r ${zpool}/ROOT \
453 atf_check -o inline:"rescue\nusr\n" bectl -r ${zpool}/ROOT \
455 atf_check [ -f ${root}/rescue/rescue ]
456 atf_check bectl -r ${zpool}/ROOT ujail default
459 atf_check bectl -r ${zpool}/ROOT jail -bo path=${root} default
460 atf_check -o not-empty -x "jls | grep -F \"${root}\""
461 atf_check bectl -r ${zpool}/ROOT ujail default
462 atf_check -s not-exit:0 -x "jls | grep -F \"${root}\""
464 atf_check bectl -r ${zpool}/ROOT jail -b default
465 atf_check bectl -r ${zpool}/ROOT unjail default
466 atf_check -s not-exit:0 -x "jls | grep -F \"${root}\""
468 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT jail -b default
469 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT jail -b -o name=bectl_test target
470 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT unjail target
471 atf_check -o empty -s exit:0 bectl -r ${zpool}/ROOT unjail default
473 atf_check -e ignore -s not-exit:0 bectl -r ${zpool}/ROOT ujail default
474 atf_check -e ignore -s not-exit:0 bectl -r ${zpool}/ROOT unjail default
477 atf_check bectl -r ${zpool}/ROOT jail -b -o path=${root} -u path default
479 atf_check -s not-exit:0 -x "mount | grep -F '${root}'"
480 atf_check bectl -r ${zpool}/ROOT ujail default
540 atf_check mkdir -p ${root}
547 atf_check bectl -r ${zpool}/ROOT rename default A
549 atf_check bectl -r ${zpool}/ROOT create -r -e A B
551 atf_check bectl -r ${zpool}/ROOT create -r -e B C
554 atf_check -o not-inline:"-" zfs list -Hr -o origin ${zpool}/ROOT/C
560 atf_check -o not-empty bectl -r ${zpool}/ROOT activate C
561 atf_check -o inline:"-\n-\n" zfs list -Hr -o origin ${zpool}/ROOT/C
595 atf_check -s exit:0 -o empty bectl -r ${zpool}/ROOT create -e default ${be}
598 atf_check -s exit:0 -o ignore bectl -r ${zpool}/ROOT activate -t ${be}
599 atf_check -s exit:0 -o inline:"zfs:${zpool}/ROOT/${be}:\n" zfsbootcfg -z ${zpool}
602 atf_check -s exit:0 -o ignore bectl -r ${zpool}/ROOT destroy ${be}
605 atf_check -s exit:0 -o empty zfsbootcfg -z ${zpool}
639 atf_check -s exit:0 -o empty bectl -r ${zpool}/ROOT create -e default ${be}
642 atf_check -s exit:0 -o ignore bectl -r ${zpool}/ROOT activate -t ${be}
643 atf_check -s exit:0 -o inline:"zfs:${zpool}/ROOT/${be}:\n" zfsbootcfg -z ${zpool}
646 atf_check -s exit:0 -o ignore bectl -r ${zpool}/ROOT rename ${be} ${be}_renamed
649 atf_check -s exit:0 -o inline:"zfs:${zpool}/ROOT/${be}_renamed:\n" zfsbootcfg -z ${zpool}