Author: ngie
Date: Wed Jun  8 14:07:43 2016
New Revision: 301627
URL: https://svnweb.freebsd.org/changeset/base/301627

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

Modified:
  stable/10/bin/ls/tests/ls_tests.sh
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/bin/ls/tests/ls_tests.sh
==============================================================================
--- stable/10/bin/ls/tests/ls_tests.sh  Wed Jun  8 14:06:34 2016        
(r301626)
+++ stable/10/bin/ls/tests/ls_tests.sh  Wed Jun  8 14:07:43 2016        
(r301627)
@@ -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()
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to