testutil

package
v0.0.0-...-7c4ed6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package testutil includes utility functions for Upspin tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PickPort

func PickPort() (string, error)

PickPort listens to an available port on localhost, closes the listener, and returns the port number. This function may be used for finding an available port for tests that use the network.

func Repo

func Repo(dir ...string) string

Repo returns the local filename of a file in the Upspin repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL