From 8d79554fd20601299b3d29ddc221c29ff06f8c3c Mon Sep 17 00:00:00 2001 From: ngie Date: Wed, 8 Jun 2016 14:07:43 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/10@301627 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- bin/ls/tests/ls_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ls/tests/ls_tests.sh b/bin/ls/tests/ls_tests.sh index 448782238..4e805d5af 100755 --- a/bin/ls/tests/ls_tests.sh +++ b/bin/ls/tests/ls_tests.sh @@ -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() -- 2.42.0