diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-04-17 10:28:51 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-04-17 10:28:51 +0200 |
commit | 5a665f0ebebc23e74d9c99bb94bb89dadd641bb9 (patch) | |
tree | f932fda3635c2f1a12bbf25ccbf549938538af7f /tests | |
parent | 9d621738d7f32803701d2f31e37aaa76656616b0 (diff) | |
download | gnutls-5a665f0ebebc23e74d9c99bb94bb89dadd641bb9.tar.gz |
Run diff without parameters, to improve portability.
Based on HPUX recommendations in
<http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Gnu/gnutls-2.3.4/gnutls-2.3.4-src-11.11.tar.gz+gnutls-2.3.4/HPUX.Install+text>.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/pathlen/pathlen | 6 |
1 files changed, 3 insertions, 3 deletions
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 |