Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2016 03:13:32 +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: r309472 - head/contrib/netbsd-tests/games
Message-ID:  <201612030313.uB33DWtl072302@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Dec  3 03:13:32 2016
New Revision: 309472
URL: https://svnweb.freebsd.org/changeset/base/309472

Log:
  Restore pathing for factor(1), which unnecessarily diverged in r278616
  
  factor lives in /usr/games/, not /usr/bin, in NetBSD.
  
  The correct way to handle this is do on-the-fly manipulation of the test
  script via ATF_TESTS_SH_SED_<foo>, not by modify the pathing directly in
  the test script.
  
  This is being done to resolve an unnecessary conflict made when pulling
  back ^/head@r309469 (contrib/netbsd-tests update) to ^/stable/10.
  
  No functional change
  
  MFC after:	now

Modified:
  head/contrib/netbsd-tests/games/t_factor.sh

Modified: head/contrib/netbsd-tests/games/t_factor.sh
==============================================================================
--- head/contrib/netbsd-tests/games/t_factor.sh	Sat Dec  3 03:05:44 2016	(r309471)
+++ head/contrib/netbsd-tests/games/t_factor.sh	Sat Dec  3 03:13:32 2016	(r309472)
@@ -37,7 +37,7 @@ expect() {
 atf_test_case overflow1
 overflow1_head() {
 	atf_set "descr" "Tests for overflow conditions"
-	atf_set "require.progs" "/usr/bin/factor"
+	atf_set "require.progs" "/usr/games/factor"
 }
 overflow1_body() {
 	expect '8675309' '8675309: 8675309'
@@ -56,7 +56,7 @@ atf_test_case loop1
 loop1_head() {
 	atf_set "descr" "Tests some cases that once locked the program" \
 	                "in an infinite loop"
-	atf_set "require.progs" "/usr/bin/factor"
+	atf_set "require.progs" "/usr/games/factor"
 }
 loop1_body() {
 	expect '2147483647111311' '2147483647111311: 3 3 3 131 607148331103'



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