version 1.13, 2013/02/19 21:08:25 |
version 1.13.8.1, 2015/08/06 21:13:44 |
|
|
fi |
fi |
|
|
umount mnt |
umount mnt |
|
# Check that resize needed |
|
atf_check -s exit:0 -o ignore resize_ffs -c -y -s ${nsize} ${IMG} |
atf_check -s exit:0 -o ignore resize_ffs -y -s ${nsize} ${IMG} |
atf_check -s exit:0 -o ignore resize_ffs -y -s ${nsize} ${IMG} |
atf_check -s exit:0 -o ignore fsck_ffs -f -n -F ${IMG} |
atf_check -s exit:0 -o ignore fsck_ffs -f -n -F ${IMG} |
atf_check -s exit:0 -e ignore rump_ffs ${IMG} mnt |
atf_check -s exit:0 -e ignore rump_ffs ${IMG} mnt |
|
|
# checking everything because we don't delete on grow |
# checking everything because we don't delete on grow |
check_data_range 1 ${numdata} |
check_data_range 1 ${numdata} |
fi |
fi |
|
# Check that no resize needed |
|
atf_check -s exit:1 -o ignore resize_ffs -c -y -s ${nsize} ${IMG} |
umount mnt |
umount mnt |
} |
} |