From d0afc901108fde8a2b8fa59703d68723db3bd472 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Sun, 28 May 2000 19:53:37 +0000
Subject: [PATCH] Use $CMP, not cmp

---
 tests/scripts/passwd-search  | 2 +-
 tests/scripts/test005-modrdn | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/scripts/passwd-search b/tests/scripts/passwd-search
index 529ad83457..c454146498 100755
--- a/tests/scripts/passwd-search
+++ b/tests/scripts/passwd-search
@@ -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
diff --git a/tests/scripts/test005-modrdn b/tests/scripts/test005-modrdn
index c648da3b4b..ca5b98bea1 100755
--- a/tests/scripts/test005-modrdn
+++ b/tests/scripts/test005-modrdn
@@ -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
-- 
GitLab