svn commit: r315108 - head/usr.bin/xinstall/tests

Ngie Cooper ngie at FreeBSD.org
Sun Mar 12 04:08:38 UTC 2017


Author: ngie
Date: Sun Mar 12 04:08:36 2017
New Revision: 315108
URL: https://svnweb.freebsd.org/changeset/base/315108

Log:
  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

Modified:
  head/usr.bin/xinstall/tests/install_test.sh

Modified: head/usr.bin/xinstall/tests/install_test.sh
==============================================================================
--- head/usr.bin/xinstall/tests/install_test.sh	Sun Mar 12 04:04:16 2017	(r315107)
+++ head/usr.bin/xinstall/tests/install_test.sh	Sun Mar 12 04:08:36 2017	(r315108)
@@ -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
 }
 


More information about the svn-src-head mailing list