aboutsummaryrefslogtreecommitdiff
path: root/bin/ln
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-06-20 20:50:54 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-06-20 20:50:54 +0000
commit00bc47268644fe380dd19cc54acca1a3a8d9a3d7 (patch)
tree31e1f8cd79230c05eb7c80e7a308eeb7fc897df1 /bin/ln
parent63bd650f4b966e560784b39b77c10263c4f7b555 (diff)
downloadsrc-00bc47268644fe380dd19cc54acca1a3a8d9a3d7.tar.gz
src-00bc47268644fe380dd19cc54acca1a3a8d9a3d7.zip
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)
Notes
Notes: svn path=/head/; revision=320173
Diffstat (limited to 'bin/ln')
-rw-r--r--bin/ln/tests/ln_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ln/tests/ln_test.sh b/bin/ln/tests/ln_test.sh
index e7aac2dcebbb..e1f5b47c262e 100644
--- a/bin/ln/tests/ln_test.sh
+++ b/bin/ln/tests/ln_test.sh
@@ -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