svn commit: r300939 - head/bin/ls/tests
Garrett Cooper
ngie at FreeBSD.org
Sun May 29 04:50:50 UTC 2016
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()
More information about the svn-src-all
mailing list