Univention Bugzilla – Bug 22235
Methode "containerexists" aus "ucs-test/lib/container.lib" ist fehlerhaft
Last modified: 2023-03-25 06:49:28 CET
Die Methode "containerexists" aus der Datei "ucs-test/lib/container.lib" kann nicht mit Leerzeichen umgehen: containerexists "cn=Domain Admins,cn=groups,dc=domain,dc=test" info 2011-04-18 12:32 checks wheter a cn with the dn cn=Domain Admins,cn=groups,dc=domain,dc=test exists error 2011-04-18 12:32 cn does not exists
# dpkg-query -W ucs-test-libs ucs-test-libs 4.0.161-19.659.201301080721 # export TESTLIBPATH=/usr/share/ucs-test/lib # . "$TESTLIBPATH/container.sh" # set -x ; container_exists "cn=Virtual Machine Manager" ; echo $? ; set +x + container_exists 'cn=Virtual Machine Manager' + local 'NAME=cn=Virtual Machine Manager' + info 'checks wheter a cn with the dn cn=Virtual Machine Manager exists' + '[' 3 -ge 2 ']' ++ date '+%Y-%m-%d %H:%M:%S\t' + echo -e 'info 2014-01-29 17:06:23\t checks wheter a cn with the dn cn=Virtual Machine Manager exists' info 2014-01-29 17:06:23 checks wheter a cn with the dn cn=Virtual Machine Manager exists + udm-test container/cn list + grep -q '^DN: cn=Virtual Machine Manager' Traceback (most recent call last): File "/usr/sbin/univention-directory-manager", line 177, in <module> main() File "/usr/sbin/univention-directory-manager", line 172, in main result = process_output(output, cmdfile) File "/usr/sbin/univention-directory-manager", line 148, in process_output print line IOError: [Errno 32] Broken pipe + info 'cn exists' + '[' 3 -ge 2 ']' ++ date '+%Y-%m-%d %H:%M:%S\t' + echo -e 'info 2014-01-29 17:06:24\t cn exists' info 2014-01-29 17:06:24 cn exists + return 0 + echo 0 0 + set +x The Traceback is Bug #32532
For this bug is no separate QA needed.