Restore some of the error message text accidentally removed in r315098

"unexpected symlink contents" is more pedantically correct than
"unexpected symlink".

MFC after:	1 week
X-MFC with:	r315098
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-03-12 04:08:36 +00:00
parent d5b187aefb
commit 3947900cdc

View File

@ -286,7 +286,7 @@ symbolic_link_absolute_body() {
copyf_path=$(readlink copyf)
testf_path="$(pwd -P)/testf"
if [ "$copyf_path" != "$testf_path" ]; then
atf_fail "unexpected symlink ('$copyf_path' != '$testf_path')"
atf_fail "unexpected symlink contents ('$copyf_path' != '$testf_path')"
fi
}
@ -299,7 +299,7 @@ symbolic_link_relative_body() {
copyf_path=$(readlink copyf)
testf_path="testf"
if [ "$copyf_path" != "$testf_path" ]; then
atf_fail "unexpected symlink ('$copyf_path' != '$testf_path')"
atf_fail "unexpected symlink contents ('$copyf_path' != '$testf_path')"
fi
}