From: Simon Josefsson Date: Thu, 17 Apr 2008 08:28:51 +0000 (+0200) Subject: Run diff without parameters, to improve portability. X-Git-Tag: gnutls_2_3_6~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a665f0ebebc23e74d9c99bb94bb89dadd641bb9;p=thirdparty%2Fgnutls.git Run diff without parameters, to improve portability. Based on HPUX recommendations in . --- diff --git a/NEWS b/NEWS index 728046a4ef..0502cfc6f8 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,10 @@ See the end for copying conditions. Based on report from "John Brooks" in . +** tests/pathlen: run diff without parameters to improve portability. +Based on HPUX build hints in +. + ** API and ABI modifications: No changes since last version. diff --git a/tests/pathlen/pathlen b/tests/pathlen/pathlen index 236e372edd..6db6c8ed47 100755 --- a/tests/pathlen/pathlen +++ b/tests/pathlen/pathlen @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2006, 2007 Free Software Foundation +# Copyright (C) 2006, 2007, 2008 Free Software Foundation # # Author: Simon Josefsson # @@ -30,9 +30,9 @@ $CERTTOOL --certificate-info --infile $srcdir/ca-no-pathlen.pem \ $CERTTOOL --certificate-info --infile $srcdir/no-ca-or-pathlen.pem \ --outfile new-no-ca-or-pathlen.pem -diff -ur $srcdir/ca-no-pathlen.pem new-ca-no-pathlen.pem +diff $srcdir/ca-no-pathlen.pem new-ca-no-pathlen.pem rc1=$? -diff -ur $srcdir/no-ca-or-pathlen.pem new-no-ca-or-pathlen.pem +diff $srcdir/no-ca-or-pathlen.pem new-no-ca-or-pathlen.pem rc2=$? rm -f new-ca-no-pathlen.pem new-no-ca-or-pathlen.pem