From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: network@lists.ipfire.org Subject: [PATCH 3/3] This recipe sets settings which are usually equal for each test Date: Tue, 24 Jul 2018 11:09:51 +0200 Message-ID: <20180724090951.11769-3-jonatan.schlag@ipfire.org> In-Reply-To: <20180724090951.11769-1-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0401418905557355035==" List-Id: --===============0401418905557355035== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Some settings are equal for each test, so it is easier to write them down once and include them then in every test. We have two version here (all and alice) to avoid that bob is booted when we are using only alice. (The all statement is substituded to alice: and bob: so we have a command for bob and the machine is booted, which costs time.) Signed-off-by: Jonatan Schlag --- Makefile.am | 8 ++++++-- test/nitsi/include/alice_network-settings | 1 + test/nitsi/include/network-settings | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 test/nitsi/include/alice_network-settings create mode 100644 test/nitsi/include/network-settings diff --git a/Makefile.am b/Makefile.am index 66d2e8d..1f75ef3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -589,13 +589,17 @@ NITSI_INCLUDE_RECIPES =3D \ test/nitsi/include/make-install \ test/nitsi/include/alice_make-install \ test/nitsi/include/alice_network-reset \ - test/nitsi/include/network-reset + test/nitsi/include/network-reset \ + test/nitsi/include/alice_network-settings \ + test/nitsi/include/network-settings =20 EXTRA_DIST +=3D \ test/nitsi/include/make-install.in \ test/nitsi/include/alice_make-install.in \ test/nitsi/include/alice_network-reset \ - test/nitsi/include/network-reset + test/nitsi/include/network-reset \ + test/nitsi/include/alice_network-settings \ + test/nitsi/include/network-settings =20 CLEANFILES +=3D \ test/nitsi/include/make-install \ diff --git a/test/nitsi/include/alice_network-settings b/test/nitsi/include/a= lice_network-settings new file mode 100644 index 0000000..1c071de --- /dev/null +++ b/test/nitsi/include/alice_network-settings @@ -0,0 +1 @@ +alice: network settings DEBUG=3D1 diff --git a/test/nitsi/include/network-settings b/test/nitsi/include/network= -settings new file mode 100644 index 0000000..535fe4c --- /dev/null +++ b/test/nitsi/include/network-settings @@ -0,0 +1 @@ +all: network settings DEBUG=3D1 --=20 2.11.0 --===============0401418905557355035==--