Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/makefs/tests/makefs_ffs_tests.sh
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | check_ffs_image_contents() | ||||
check_image_contents "$@" | check_image_contents "$@" | ||||
} | } | ||||
# With no -M, -m, or -s options, makefs should autocalculate the image size | # With no -M, -m, or -s options, makefs should autocalculate the image size | ||||
atf_test_case autocalculate_image_size cleanup | atf_test_case autocalculate_image_size cleanup | ||||
autocalculate_image_size_body() | autocalculate_image_size_body() | ||||
{ | { | ||||
atf_expect_fail "PR 229929 makefs(8) can underestimate image size" | |||||
create_test_inputs | create_test_inputs | ||||
atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \ | atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \ | ||||
mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR | mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR | ||||
cd $TEST_INPUTS_DIR | cd $TEST_INPUTS_DIR | ||||
atf_check -e empty -o not-empty -s exit:0 \ | atf_check -e empty -o not-empty -s exit:0 \ | ||||
$MAKEFS $TEST_IMAGE $TEST_SPEC_FILE | $MAKEFS $TEST_IMAGE $TEST_SPEC_FILE | ||||
▲ Show 20 Lines • Show All 194 Lines • Show Last 20 Lines |