extract pidns tests from runpidnstest.sh to runtest/containers

Extract pinds testcases from container_test.sh and list
all separately in containers runtest.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
diff --git a/testcases/kernel/containers/pidns/pidns05.c b/testcases/kernel/containers/pidns/pidns05.c
index e70031d..be2d3da 100644
--- a/testcases/kernel/containers/pidns/pidns05.c
+++ b/testcases/kernel/containers/pidns/pidns05.c
@@ -50,6 +50,7 @@
 #include "usctest.h"
 #include "test.h"
 #include <libclone.h>
+#include "pidns_helper.h"
 
 #define INIT_PID	1
 #define CINIT_PID	1
@@ -191,6 +192,12 @@
 	}
 }
 
+static void setup(void)
+{
+	tst_require_root(NULL);
+	check_newpid();
+}
+
 int main(int argc, char *argv[])
 {
 	int ret, nbytes, status;
@@ -198,6 +205,8 @@
 	pid_t pid, pgid;
 	int count = MAX_DEPTH;
 
+	setup();
+
 	/*
 	 * XXX (garrcoop): why in the hell is this fork-wait written this way?
 	 * This doesn't add up with the pattern used for the rest of the tests,