[PATCH] test-https.t: clean up superfluous trailing whitespace

Augie Fackler durin42 at gmail.com
Wed May 4 10:25:24 CDT 2011


bah, ignore this, it trims one bit of important whitespace. Will resend shortly.

On Wed, May 4, 2011 at 10:20 AM, Augie Fackler <durin42 at gmail.com> wrote:
> # HG changeset patch
> # User Augie Fackler <durin42 at gmail.com>
> # Date 1304522322 18000
> # Node ID 3cf17a3c856e68a3d4f082a5bd83739abea1b05a
> # Parent  8468ec1109d12676293488f7df8b98ad194a0bc6
> test-https.t: clean up superfluous trailing whitespace
>
> diff --git a/tests/test-https.t b/tests/test-https.t
> --- a/tests/test-https.t
> +++ b/tests/test-https.t
> @@ -8,7 +8,7 @@
>  Can be dumped with:
>  openssl x509 -in pub.pem -text
>
> -  $ cat << EOT > priv.pem
> +  $ cat << EOT > priv.pem
>   > -----BEGIN PRIVATE KEY-----
>   > MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEApjCWeYGrIa/Vo7LH
>   > aRF8ou0tbgHKE33Use/whCnKEUm34rDaXQd4lxxX6aDWg06n9tiVStAKTgQAHJY8
> @@ -21,7 +21,7 @@
>   > -----END PRIVATE KEY-----
>   > EOT
>
> -  $ cat << EOT > pub.pem
> +  $ cat << EOT > pub.pem
>   > -----BEGIN CERTIFICATE-----
>   > MIIBqzCCAVWgAwIBAgIJANAXFFyWjGnRMA0GCSqGSIb3DQEBBQUAMDExEjAQBgNV
>   > BAMMCWxvY2FsaG9zdDEbMBkGCSqGSIb3DQEJARYMaGdAbG9jYWxob3N0MB4XDTEw
> @@ -37,7 +37,7 @@
>   $ cat priv.pem pub.pem >> server.pem
>   $ PRIV=`pwd`/server.pem
>
> -  $ cat << EOT > pub-other.pem
> +  $ cat << EOT > pub-other.pem
>   > -----BEGIN CERTIFICATE-----
>   > MIIBqzCCAVWgAwIBAgIJALwZS731c/ORMA0GCSqGSIb3DQEBBQUAMDExEjAQBgNV
>   > BAMMCWxvY2FsaG9zdDEbMBkGCSqGSIb3DQEJARYMaGdAbG9jYWxob3N0MB4XDTEw
> @@ -53,7 +53,7 @@
>
>  pub.pem patched with other notBefore / notAfter:
>
> -  $ cat << EOT > pub-not-yet.pem
> +  $ cat << EOT > pub-not-yet.pem
>   > -----BEGIN CERTIFICATE-----
>   > MIIBqzCCAVWgAwIBAgIJANAXFFyWjGnRMA0GCSqGSIb3DQEBBQUAMDExEjAQBgNVBAMMCWxvY2Fs
>   > aG9zdDEbMBkGCSqGSIb3DQEJARYMaGdAbG9jYWxob3N0MB4XDTM1MDYwNTIwMzAxNFoXDTM1MDYw
> @@ -67,7 +67,7 @@
>   > EOT
>   $ cat priv.pem pub-not-yet.pem > server-not-yet.pem
>
> -  $ cat << EOT > pub-expired.pem
> +  $ cat << EOT > pub-expired.pem
>   > -----BEGIN CERTIFICATE-----
>   > MIIBqzCCAVWgAwIBAgIJANAXFFyWjGnRMA0GCSqGSIb3DQEBBQUAMDExEjAQBgNVBAMMCWxvY2Fs
>   > aG9zdDEbMBkGCSqGSIb3DQEJARYMaGdAbG9jYWxob3N0MB4XDTEwMTAxNDIwMzAxNFoXDTEwMTAx
> @@ -146,7 +146,7 @@
>   adding manifests
>   adding file changes
>   added 1 changesets with 1 changes to 1 files
> -  changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=https://localhost:$HGPORT/
> +  changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=https://localhost:$HGPORT/
>   warning: localhost certificate with fingerprint 91:4f:1a:ff:87:24:9c:09:b6:85:9b:88:b1:90:6d:30:75:64:91:ca not verified (check hostfingerprints or web.cacerts config setting)
>   (run 'hg update' to get a working copy)
>   $ cd ..
> @@ -198,7 +198,7 @@
>
>  Test server cert which isn't valid yet
>
> -  $ hg -R test serve -p $HGPORT1 -d --pid-file=hg1.pid --certificate=server-not-yet.pem
> +  $ hg -R test serve -p $HGPORT1 -d --pid-file=hg1.pid --certificate=server-not-yet.pem
>   $ cat hg1.pid >> $DAEMON_PIDS
>   $ hg -R copy-pull pull --config web.cacerts=pub-not-yet.pem https://localhost:$HGPORT1/
>   abort: error: *:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (glob)
> @@ -206,7 +206,7 @@
>
>  Test server cert which no longer is valid
>
> -  $ hg -R test serve -p $HGPORT2 -d --pid-file=hg2.pid --certificate=server-expired.pem
> +  $ hg -R test serve -p $HGPORT2 -d --pid-file=hg2.pid --certificate=server-expired.pem
>   $ cat hg2.pid >> $DAEMON_PIDS
>   $ hg -R copy-pull pull --config web.cacerts=pub-expired.pem https://localhost:$HGPORT2/
>   abort: error: *:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (glob)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>


More information about the Mercurial-devel mailing list