diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-29 04:50:49 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-29 04:50:49 +0000 |
commit | 517b320b15f89655e9d773ee4823313ab69a6fc1 (patch) | |
tree | 5052c864b3094aaa014788494d63d07b53a69665 /bin/ls/tests | |
parent | 999177f5ea8625b69c9764e3f1f6361c25a98d72 (diff) | |
download | FreeBSD-src-517b320b15f89655e9d773ee4823313ab69a6fc1.zip FreeBSD-src-517b320b15f89655e9d773ee4823313ab69a6fc1.tar.gz |
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
Diffstat (limited to 'bin/ls/tests')
-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 3317876..2291bab 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() |