Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 04:50:49 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300939 - head/bin/ls/tests
Message-ID:  <201605290450.u4T4onMi069586@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun May 29 04:50:49 2016
New Revision: 300939
URL: https://svnweb.freebsd.org/changeset/base/300939

Log:
  Use require.progs with bc instead of require.files with /usr/bin/bc
  
  This will make things more flexible if the program path changes in the future,
  and the test in and of itself doesn't call /usr/bin/bc -- it just calls bc
  
  MFC after: 1 week
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/bin/ls/tests/ls_tests.sh

Modified: head/bin/ls/tests/ls_tests.sh
==============================================================================
--- head/bin/ls/tests/ls_tests.sh	Sun May 29 04:47:10 2016	(r300938)
+++ head/bin/ls/tests/ls_tests.sh	Sun May 29 04:50:49 2016	(r300939)
@@ -535,7 +535,7 @@ atf_test_case h_flag
 h_flag_head()
 {
 	atf_set "descr" "Verify that -h prints out the humanized units for file sizes with ls -l"
-	atf_set "require.files" "/usr/bin/bc"
+	atf_set "require.progs" "bc"
 }
 
 h_flag_body()



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