summaryrefslogtreecommitdiffstats
path: root/tests/test24-schema-compat/before.sh
blob: cd525e5731e568ebc72e2ce3103ee9ff9c5ccd9e (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 -b cn=compat,dc=example,dc=com > $tmpfile
$LDIFSORT $tmpfile