From 3947900cdc337e30be5ac10772ef7f813da3da18 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sun, 12 Mar 2017 04:08:36 +0000 Subject: [PATCH] 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 --- usr.bin/xinstall/tests/install_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/xinstall/tests/install_test.sh b/usr.bin/xinstall/tests/install_test.sh index 04748ee3f478..4332f9b8268c 100755 --- a/usr.bin/xinstall/tests/install_test.sh +++ b/usr.bin/xinstall/tests/install_test.sh @@ -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 }