Don't expect :sF_flag to fail anymore

While here, also add a check to verify that the link target
is updated in the testcase

MFC after:	1 month
MFC with:	r320172
PR:		219943
Differential Revision:	D11167
Submitted by:	shivansh
Sponsored by:	Google (GSoC 2017)
This commit is contained in:
Enji Cooper 2017-06-20 20:50:54 +00:00
parent 63bd650f4b
commit 00bc472686

View File

@ -160,10 +160,10 @@ sF_flag_head()
sF_flag_body()
{
atf_expect_fail "B isn't being unlinked (bug 219943)"
atf_check mkdir A B
atf_check ln -sF A B
atf_check -o inline:'Symbolic Link\n' stat -f %SHT B
atf_check -o inline:'A\n' readlink B
}
atf_test_case sf_flag