Re: Run binary from test suite

From: Panagiotes Mousikides <paggas1_at_yandex.com>
Date: Wed, 12 Jul 2017 17:02:09 +0000
Den 2017-07-11 kl. 18:51, skrev Alan Somers:
> Are you using pfctl at build time or does your ATF test script need
> it?  I'm assuming the latter.  In that case, it's fine to call it
> directly.  Your PATH will be correctly configured.  Don't use
> /usr/obj, because that may no longer exist by the time somebody is
> running the ATF test.
> -Alan
I see, thanks a lot for the input!  I will change my tests to call pfctl 
from PATH.

Best regards,
Panagiotes
>
> On Tue, Jul 11, 2017 at 11:13 AM, Panagiotes Mousikides
> <paggas1_at_yandex.com> wrote:
>> Hello!
>>
>> I'm a Google Summer of Code student, writing some tests for the FreeBSD test
>> suite, and putting them under src/tests.  I need to run some binaries,
>> specifically pfctl.
>>
>> How should I call pfctl from my test scripts?  Should I call it directly and
>> let the shell find the binary in the path?  Or should I find where the build
>> version got created (somewhere under /usr/obj) and call that?  How do I find
>> where the binary ended up getting created in that case?
>>
>> Best regards,
>> Panagiotes
>>
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jul 12 2017 - 15:02:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC