• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import subprocess
6import test
7
8from autotest_lib.client.common_lib import utils
9
10class platform_OpenSSLActual(test.test):
11    version = 1
12
13    def curl(self, rest):
14        base = '/usr/bin/curl -sSIo /dev/null'
15        out = utils.system_output('%s %s' % (base, rest))
16        print out
17
18    def run_once(self):
19        self.curl('https://www.google.com')
20        self.curl('--capath /var/empty https://www.google.com; [ $? != 0 ]')
21