From 1022e6eee99dd09ceed5af68dcf5ee896c28d338 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 21 May 2024 12:22:28 +0000 Subject: [PATCH] debug ci --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7534d0a..fd84ad5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,8 +76,8 @@ jobs: echo "Write test to openldap database" LDAPTLS_REQCERT=never ldapadd -x -D 'cn=admin,dc=example,dc=org' -w Not@SecurePassw0rd -H ldaps://localhost:30636 -f .bin/user.ldif LDAPTLS_REQCERT=never ldapsearch -o nettimeout=20 -x -D 'cn=admin,dc=example,dc=org' -w Not@SecurePassw0rd -H ldaps://localhost:30636 -b 'dc=example,dc=org' > /tmp/test-write.txt - if ! grep -q "Einstein" /tmp/test-write.txt; then exit 1 ; fi - if ! grep -q "objectClass: ownCloud" /tmp/test-write.txt; then echo exit 1; fi + if ! grep "Einstein" /tmp/test-write.txt; then exit 1 ; fi + if ! grep "objectClass: ownCloud" /tmp/test-write.txt; then echo 'no ownCloud entry found'; fi - name: test memberOf shell: bash run: |