From 136907f44fedad0f474071e0fa49e973e579da95 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Mon, 13 Feb 2012 13:58:17 -0500 Subject: [PATCH] all: update 'gotest' to 'go test' R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5645099 --- handshake_client_test.go | 2 +- handshake_server_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/handshake_client_test.go b/handshake_client_test.go index c0abcda..8c56daa 100644 --- a/handshake_client_test.go +++ b/handshake_client_test.go @@ -62,7 +62,7 @@ func TestRunClient(t *testing.T) { // Script of interaction with gnutls implementation. // The values for this test are obtained by building and running in client mode: -// % gotest -test.run "TestRunClient" -connect +// % go test -run "TestRunClient" -connect // and then: // % gnutls-serv -p 10443 --debug 100 --x509keyfile key.pem --x509certfile cert.pem -a > /tmp/log 2>&1 // % python parse-gnutls-cli-debug-log.py < /tmp/log diff --git a/handshake_server_test.go b/handshake_server_test.go index 4bff532..bd31d31 100644 --- a/handshake_server_test.go +++ b/handshake_server_test.go @@ -284,7 +284,7 @@ func loadPEMCert(in string) *x509.Certificate { // Script of interaction with gnutls implementation. // The values for this test are obtained by building and running in server mode: -// % gotest -test.run "TestRunServer" -serve +// % go test -run "TestRunServer" -serve // and then: // % gnutls-cli --insecure --debug 100 -p 10443 localhost > /tmp/log 2>&1 // % python parse-gnutls-cli-debug-log.py < /tmp/log @@ -949,7 +949,7 @@ var sslv3ServerScript = [][]byte{ var clientauthTests = []clientauthTest{ // Server doesn't asks for cert - // gotest -test.run "TestRunServer" -serve -clientauth 0 + // go test -run "TestRunServer" -serve -clientauth 0 // gnutls-cli --insecure --debug 100 -p 10443 localhost 2>&1 | // python parse-gnutls-cli-debug-log.py {"NoClientCert", NoClientCert, nil, @@ -1115,7 +1115,7 @@ var clientauthTests = []clientauthTest{ 0x03, 0x11, 0x43, 0x3e, 0xee, 0xb7, 0x4d, 0x69, }}}, // Server asks for cert with empty CA list, client doesn't give it. - // gotest -test.run "TestRunServer" -serve -clientauth 1 + // go test -run "TestRunServer" -serve -clientauth 1 // gnutls-cli --insecure --debug 100 -p 10443 localhost {"RequestClientCert, none given", RequestClientCert, nil, [][]byte{{ @@ -1282,7 +1282,7 @@ var clientauthTests = []clientauthTest{ 0xf4, 0x70, 0xcc, 0xb4, 0xed, 0x07, 0x76, 0x3a, }}}, // Server asks for cert with empty CA list, client gives one - // gotest -test.run "TestRunServer" -serve -clientauth 1 + // go test -run "TestRunServer" -serve -clientauth 1 // gnutls-cli --insecure --debug 100 -p 10443 localhost {"RequestClientCert, client gives it", RequestClientCert, []*x509.Certificate{clicert},