[Date Prev][Date Next] [Chronological] [Thread] [Top]

test016 fails on Windows (ITS#2922)



Full_Name: Howard Chu
Version: 2.2.4
OS: Windows XP
URL: 
Submission from: (NULL) (24.126.120.178)
Submitted by: hyc


In a Cygwin or MSYS environment, the test results fail the comparison check
because some attributes (o and objectclass) are missing from the ldapsearch
result. It turns out these attributes are missing because when the test
executes, the search request for attributes " '*' ref " gets expanded by the
shell. The '*' gets expanded into a list of the files in the current directory,
even though the asterisk is quoted. No combination of quotes or escapes seems to
prevent this incorrect expansion.

This is a bug either in the Windows port of BASH, or in the MinGW C runtime
startup code. I'm just noting it here for reference. A workaround for this bug
is to replace '*' with an explicit list of attributes to return ("o
objectclass") on the search invocations.