summaryrefslogtreecommitdiffstats
path: root/tests/test27-schema-compat/after.sh
blob: 8a1886d76132f9c889a1166c200ef13d4c13b690 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
tmpfile=`mktemp ${TMP:-/tmp}/ldifXXXXXX`
if test -z "$tmpfile" ; then
	echo error creating temporary file
fi
trap 'rm -f "$tmpfile"' EXIT
search -s one -b cn=groups,cn=compat,dc=example,dc=com > $tmpfile
$LDIFSORT $tmpfile