summaryrefslogtreecommitdiffstats
path: root/tests/test20-schema-compat/after.sh
blob: 51124aa842e996da829a130e0f234a7a567236e7 (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=ng,cn=compat,dc=example,dc=com > $tmpfile
$LDIFSORT $tmpfile