Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2017 04:08:36 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315108 - head/usr.bin/xinstall/tests
Message-ID:  <201703120408.v2C48adc033262@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703120408.v2C48adc033262>