]> git.sur5r.net Git - openldap/commitdiff
Tru64 diff does support "diff foo /dev/null",
authorKurt Zeilenga <kurt@openldap.org>
Tue, 2 Oct 2001 08:27:18 +0000 (08:27 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 2 Oct 2001 08:27:18 +0000 (08:27 +0000)
replace with "diff foo - < /dev/null"

tests/scripts/test005-modrdn

index 0accc7c4b39fed09af1b9c9884d21ae9e85477a9..f2ee443f402ef7a206e861dc35279576cff93656 100755 (executable)
@@ -147,7 +147,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