resurrecting a minimal test infra - starting with linux node and application
[nepi.git] / test / infra-setup.md
diff --git a/test/infra-setup.md b/test/infra-setup.md
new file mode 100644 (file)
index 0000000..3b5a6dd
--- /dev/null
@@ -0,0 +1,36 @@
+# Test infra setup
+
+As a first attempt to resurrect even if partially some automated tests for nepi, I have
+
+* focused on the unit tests about
+
+* created 2 VMs (in stupeflip)
+* named `fedora` (f22) and `ubuntu` (vivid)
+
+# fedora
+
+    create-vm.sh -f f22 fedora
+    lce fedora
+    adduser inria_nepi
+    yum -y install wget rsync
+        chmod 4755 /bin/ping
+        cat > /etc/sudoers.d/inria_nepi << EOF
+    inria_nepi ALL=(ALL) NOPASSWD: ALL
+    EOF
+    
+# ubuntu
+
+Essentially identical, except
+
+* based on vivid (this is 1 week before wily..)
+* `adduser -m inria_nepi` otherwise no homedir is created
+* no need to mess with `ping`
+* `wget` was already there; did install `rsync` although I have no immediate need for it
+
+# results
+
+with all this in place, and with official release 3.2.8 I am getting, referring to `make` targets
+
+* `test-node` : 19 tests passed in 194s
+* `test-app` : 15 tests passed in 170s
+  
\ No newline at end of file