Adding Testcases to modules
shivu prasad
shivaprasad2452 at gmail.com
Wed Oct 10 21:05:25 CEST 2018
Hi Alan,
Thanks for help I able to run default test suite.
configure
- make
- make test (not tests)
worked after some ssl fix.
Now I want to add testcases to my new module
can you help me, what steps or config I need to do for adding testcases tp
my module.
Here is my understanding
- Create module in src/tests/modules (I am referring the files module).
- Do I need to add entry or need config change to make them run.
Regards,
Shivaprasad
On Mon, Oct 8, 2018 at 8:39 PM Alan DeKok <aland at deployingradius.com> wrote:
> On Oct 8, 2018, at 11:04 AM, shivu prasad <shivaprasad2452 at gmail.com>
> wrote:
> >
> > Since You mentioned there may be some configuration change in my set up I
> > download fresh code(freeradius-server-3.0.17.tar.gz) and retried the
> setup
> > here is steps I am invoking.
> >
> > 1.Configure (./configure --prefix=/usr/local/freeradius-server-3.0.17)
> > 2.make
> > 3. sudo make Install
> > 4. sudo /usr/local/afreeradius/sbin/radiusd -X (I got the SSL error
> here I
> > fixed it by allowing ssl
> > # allow_vulnerable_openssl = no
> > allow_vulnerable_openssl = 'CVE-2016-6304'
> > )
> > **this is the only change I have done to fix the SSL issue and to make
> the
> > server up.
> >
> > 5. make tests (changed directory to src/tests and run the make tests
> > command).
>
> No. Don't do that. You run "make tests" from the top-level directory:
>
> - configure
> - make
> - make tests
>
> It's that simple.
>
> You *don't* need to install it in order to run the tests.
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/devel.html
More information about the Freeradius-Devel
mailing list