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
This commit is contained in:
Enji Cooper 2016-05-29 04:50:49 +00:00
parent 5c46b7343e
commit 482537c7a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300939

View File

@ -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()