]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Don't diff against /dev/null, use empty stdin instead.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 19:11:51 +0000 (19:11 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 19:11:51 +0000 (19:11 +0000)
tests/scripts/test005-modrdn

index 9029a1c2976d654642426e46ae69af14b3cf4fda..d0402e874c0af74931a290e7254c9c58d4fd0920 100755 (executable)
@@ -138,7 +138,7 @@ if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"
        exit $RC
 fi
-$CMP $SEARCHOUT /dev/null > $CMPOUT
+$CMP $SEARCHOUT - < /dev/null > $CMPOUT
 if test $? != 0 ; then
        echo "failure: ldapsearch found attribute that was to be removed!"
        kill -HUP $PID