#1 initial testing for directory server via nspawn in MTF
Closed 6 years ago by ralph. Opened 6 years ago by jscotka.
modules/ jscotka/389-ds tests  into  master

file modified
+10 -1
@@ -1,3 +1,12 @@ 

  # 389-ds

  

- The 389-ds package 

\ No newline at end of file

+ The 389-ds package

+ 

+ ## how to test module

+ 

+ * Install  meta-test-family: http://meta-test-family.readthedocs.io/en/latest/installation.html

+ * Find/Create compose and use it as input `URL` envvar

+ ```

+ COMPOSE=http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/26/Everything/x86_64/os/

+ sudo MODULE=nspawn URL=$COMPOSE make -C tests/ test

+ ``` 

\ No newline at end of file

file added
+6
@@ -0,0 +1,6 @@ 

+ # Installation

+ # https://meta-test-family.readthedocs.io/en/latest/installation.html#installing-mtf

+ test:

+ 	mtf-env-set

+ 	mtf-generator

+ 	mtf -l *.py

file added
+22
@@ -0,0 +1,22 @@ 

+ document: modularity-testing

+ version: 1

+ name: 389-ds

+ modulemd-url: https://src.fedoraproject.org/cgit/modules/389-ds.git/plain/389-ds.yaml

+ packages:

+      profiles:

+         - default

+      rpms:

+         - openldap-clients

+ module:

+     rpm:

+         setup: cp ds-config.ini {ROOT}/opt/conf.ini

+         start: setup-ds.pl --silent --file=/opt/conf.ini;

+             systemctl start dirsrv@myexample

+         status: systemctl status dirsrv@myexample

+         stop: systemctl stop dirsrv@myexample

+         url: http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/26/Everything/x86_64/os/

+ test:

+     simplequery:

+         - ldapsearch -h localhost -p 32222 -x -w password -s base -b '' 'objectclass=*' | grep 'dc=myexample'

+     simplequery_negative:

+         - ldapsearch -h localhost -p 32222 -x -w password -s base -b '' 'objectclass=aaa' | grep -v 'dc=myexample' 

\ No newline at end of file

file added
+10
@@ -0,0 +1,10 @@ 

+ [General]

+ FullMachineName=myexample.com

+ SuiteSpotUserID=dirsrv

+ #ServerRoot=        /usr/lib/fedora-ds

+ [slapd]

+ ServerPort=32222

+ ServerIdentifier=myexample

+ Suffix=dc=myexample,dc=com

+ RootDN=cn=Directory Manager

+ RootDNPwd=password

initial testing of directory server.
please merge it also to other branches

Please use dirsrv user instead of nobody.

1 new commit added

  • change user to dirsrv instead of nobody
6 years ago

Pull-Request has been closed by ralph

6 years ago