[Swan-dev] should test /etc/ipsec.conf files be stand-alone

Andrew Cagney andrew.cagney at gmail.com
Tue Oct 20 19:31:19 UTC 2015


Hi,

I just noticed that, for tests, the /etc/ipsec.conf file isn't exactly
standalone.  For instance, for the test ikev2-04-basic-x509,
/etc/ipsec.conf ends with the include:

    include    /testing/baseconfigs/all/etc/ipsec.d/ipsec.conf.common

which creates problems, for instance:

- I'd really like to be able to grab the entire config and run it else where:
   ssh west 'cd / ; tar cf - etc/ipsec.d etc/ipsec.conf' | ssh red 'cd
/ ; tar xpf -'

- hard-wiring /testing to a single source tree prevents me from having
multiple build/test directories.

thoughts,
Andrew


More information about the Swan-dev mailing list