Add first test for nitsi

Message ID 20180528141226.11180-1-jonatan.schlag@ipfire.org
State Accepted
Commit b5ef8327c80319982dee7f3c173a2e118f35ac81
Headers
Series Add first test for nitsi |

Commit Message

Jonatan Schlag May 29, 2018, 12:12 a.m. UTC
  This commit introduce NITSI. Nitsi is the "Networking integration test
suite for IPFire". We can test the network code in a virtual environment
on any system.

This test has the only purpose to check if nitsi is working.

For more information about nitsi see the manpages and the git
repository on git.ipfire.org

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 test/nitsi/test/hello-world/recipe   |  1 +
 test/nitsi/test/hello-world/settings | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 test/nitsi/test/hello-world/recipe
 create mode 100644 test/nitsi/test/hello-world/settings
  

Comments

Michael Tremer May 30, 2018, 3:20 a.m. UTC | #1
Hello,

these files are not being added to the Makefile and would therefore be missing
in the release tarball.

Best,
-Michael

On Mon, 2018-05-28 at 16:12 +0200, Jonatan Schlag wrote:
> This commit introduce NITSI. Nitsi is the "Networking integration test
> suite for IPFire". We can test the network code in a virtual environment
> on any system.
> 
> This test has the only purpose to check if nitsi is working.
> 
> For more information about nitsi see the manpages and the git
> repository on git.ipfire.org
> 
> Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
> ---
>  test/nitsi/test/hello-world/recipe   |  1 +
>  test/nitsi/test/hello-world/settings | 11 +++++++++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 test/nitsi/test/hello-world/recipe
>  create mode 100644 test/nitsi/test/hello-world/settings
> 
> diff --git a/test/nitsi/test/hello-world/recipe b/test/nitsi/test/hello-
> world/recipe
> new file mode 100644
> index 0000000..6312787
> --- /dev/null
> +++ b/test/nitsi/test/hello-world/recipe
> @@ -0,0 +1 @@
> +all: echo "Hello World"
> diff --git a/test/nitsi/test/hello-world/settings b/test/nitsi/test/hello-
> world/settings
> new file mode 100644
> index 0000000..27447c2
> --- /dev/null
> +++ b/test/nitsi/test/hello-world/settings
> @@ -0,0 +1,11 @@
> +[DEFAULT]
> +Name = Hello World
> +Description = This is a test to just check if nitsi is working.
> +
> +Copy_from =
> +Copy_to = /root/
> +
> +[VIRTUAL_ENVIRONMENT]
> +Name = basic
> +path = ../virtual-environment/basic
> +
  

Patch

diff --git a/test/nitsi/test/hello-world/recipe b/test/nitsi/test/hello-world/recipe
new file mode 100644
index 0000000..6312787
--- /dev/null
+++ b/test/nitsi/test/hello-world/recipe
@@ -0,0 +1 @@ 
+all: echo "Hello World"
diff --git a/test/nitsi/test/hello-world/settings b/test/nitsi/test/hello-world/settings
new file mode 100644
index 0000000..27447c2
--- /dev/null
+++ b/test/nitsi/test/hello-world/settings
@@ -0,0 +1,11 @@ 
+[DEFAULT]
+Name = Hello World
+Description = This is a test to just check if nitsi is working.
+
+Copy_from =
+Copy_to = /root/
+
+[VIRTUAL_ENVIRONMENT]
+Name = basic
+path = ../virtual-environment/basic
+