diff options
author | ngie <ngie@FreeBSD.org> | 2016-06-08 14:07:43 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-06-08 14:07:43 +0000 |
commit | d1adc82bec6d598d481a6c3192da7bad1e0e95cf (patch) | |
tree | 1108937499bc10cb6e63466417183eb40cf1c10f /bin/ls | |
parent | 2ded2c58da54fbae0f4cb32cf812840b36b93fe0 (diff) | |
download | FreeBSD-src-d1adc82bec6d598d481a6c3192da7bad1e0e95cf.zip FreeBSD-src-d1adc82bec6d598d481a6c3192da7bad1e0e95cf.tar.gz |
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
Diffstat (limited to 'bin/ls')
-rwxr-xr-x | bin/ls/tests/ls_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/tests/ls_tests.sh b/bin/ls/tests/ls_tests.sh index 44878223..4e805d5 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() |