Skip ufs related tests in fstyp(8) and makefs(8) temporarily

They are failing after r362358 and r362359.

PR:		247425
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
lwhsu 2020-06-19 17:32:30 +00:00
parent 10edbbda5a
commit be2ffb7a81
2 changed files with 33 additions and 0 deletions

View File

@ -197,6 +197,9 @@ ufs1_head() {
atf_set "descr" "fstyp(8) should detect UFS version 1 filesystems"
}
ufs1_body() {
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
atf_check -s exit:0 mkdir dir
atf_check -s exit:0 -o ignore makefs -Z -s 64m ufs.img dir
atf_check -s exit:0 -o inline:"ufs\n" fstyp ufs.img
@ -208,6 +211,9 @@ ufs2_head() {
atf_set "descr" "fstyp(8) should detect UFS version 2 filesystems"
}
ufs2_body() {
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
atf_check -s exit:0 mkdir dir
atf_check -s exit:0 -o ignore makefs -o version=2 -Z -s 64m ufs.img dir
atf_check -s exit:0 -o inline:"ufs\n" fstyp ufs.img
@ -219,6 +225,9 @@ ufs2_label_head() {
atf_set "descr" "fstyp(8) can read the label on a UFS v2 filesystem"
}
ufs2_label_body() {
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
atf_check -s exit:0 mkdir dir
atf_check -s exit:0 -o ignore makefs -o version=2,label="foo" -Z -s 64m ufs.img dir
atf_check -s exit:0 -o inline:"ufs foo\n" fstyp -l ufs.img

View File

@ -106,6 +106,10 @@ D_flag_cleanup()
atf_test_case F_flag cleanup
F_flag_body()
{
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
create_test_inputs
atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \
@ -125,6 +129,10 @@ F_flag_cleanup()
atf_test_case from_mtree_spec_file cleanup
from_mtree_spec_file_body()
{
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
create_test_inputs
atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \
@ -146,6 +154,10 @@ from_mtree_spec_file_cleanup()
atf_test_case from_multiple_dirs cleanup
from_multiple_dirs_body()
{
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
test_inputs_dir2=$TMPDIR/inputs2
create_test_inputs
@ -168,6 +180,10 @@ from_multiple_dirs_cleanup()
atf_test_case from_single_dir cleanup
from_single_dir_body()
{
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
create_test_inputs
atf_check -e empty -o not-empty -s exit:0 \
@ -184,6 +200,10 @@ from_single_dir_cleanup()
atf_test_case o_flag_version_1 cleanup
o_flag_version_1_body()
{
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
ffs_version=1
platform=$(uname)
@ -216,6 +236,10 @@ o_flag_version_1_cleanup()
atf_test_case o_flag_version_2 cleanup
o_flag_version_2_body()
{
if [ "$(atf_config_get ci false)" = "true" ]; then
atf_skip "https://bugs.freebsd.org/247425"
fi
ffs_version=2
platform=$(uname)