mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 17:47:33 -05:00
Use $CMP, not cmp
This commit is contained in:
parent
229e12b69d
commit
d0afc90110
2 changed files with 5 additions and 5 deletions
|
|
@ -97,7 +97,7 @@ kill -HUP $PID
|
|||
|
||||
echo "Assuming everything is fine."
|
||||
#echo "Comparing results"
|
||||
#cmp $TESTOUT $SEARCHOUTMASTER
|
||||
#$CMP $TESTOUT $SEARCHOUTMASTER
|
||||
#if test $? != 0 ; then
|
||||
# echo "Comparison failed"
|
||||
# exit 1
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ echo "Filtering ldapsearch results..."
|
|||
echo "Filtering original ldif used to create database..."
|
||||
. $SRCDIR/scripts/acfilter.sh < $LDIF > $LDIFFLT
|
||||
echo "Comparing filter output..."
|
||||
cmp $SEARCHFLT $LDIFFLT
|
||||
$CMP $SEARCHFLT $LDIFFLT
|
||||
|
||||
if test $? != 0 ; then
|
||||
echo "comparison failed - modrdn operations did not complete correctly"
|
||||
|
|
@ -138,7 +138,7 @@ if test $RC != 0 ; then
|
|||
echo "ldapsearch failed!"
|
||||
exit $RC
|
||||
fi
|
||||
cmp $SEARCHOUT /dev/null
|
||||
$CMP $SEARCHOUT /dev/null
|
||||
if test $? != 0 ; then
|
||||
echo "failure: ldapsearch found attribute that was to be removed!"
|
||||
kill -HUP $PID
|
||||
|
|
@ -162,7 +162,7 @@ echo "Filtering ldapsearch results..."
|
|||
echo "Filtering original ldif used to create database..."
|
||||
. $SRCDIR/scripts/acfilter.sh < $LDIF > $LDIFFLT
|
||||
echo "Comparing filter output..."
|
||||
cmp $SEARCHFLT $LDIFFLT
|
||||
$CMP $SEARCHFLT $LDIFFLT
|
||||
|
||||
if test $? != 0 ; then
|
||||
echo "comparison failed - modrdn operations did not complete correctly"
|
||||
|
|
@ -203,7 +203,7 @@ echo "Filtering ldapsearch results..."
|
|||
echo "Filtering original ldif used to create database..."
|
||||
. $SRCDIR/scripts/acfilter.sh < $LDIF > $LDIFFLT
|
||||
echo "Comparing filter output..."
|
||||
cmp $SEARCHFLT $LDIFFLT
|
||||
$CMP $SEARCHFLT $LDIFFLT
|
||||
|
||||
kill -HUP $PID
|
||||
if test $? != 0 ; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue