summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-06-08 14:07:43 +0000
committerngie <ngie@FreeBSD.org>2016-06-08 14:07:43 +0000
commitd1adc82bec6d598d481a6c3192da7bad1e0e95cf (patch)
tree1108937499bc10cb6e63466417183eb40cf1c10f /bin/ls
parent2ded2c58da54fbae0f4cb32cf812840b36b93fe0 (diff)
downloadFreeBSD-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-xbin/ls/tests/ls_tests.sh2
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()
OpenPOWER on IntegriCloud