From 2c52eca8727df744d093703bbcbd87fc39d57d30 Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Wed, 28 Jun 2017 13:57:55 -0700 Subject: Finalize import paths and documentation This commit changes all the internal import paths from `fscrypt/foo` to `github.com/google/fscrypt/foo` so that it can be built once we release externaly. The documentation in README.md is updated accordingly. Also, the README has a note noting that we do not make any guarantees about project stability before 1.0 (when it ships with Ubuntu). Change-Id: I6ba86e442c74057c8a06ba32a42e17f94833e280 --- metadata/policy_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'metadata/policy_test.go') diff --git a/metadata/policy_test.go b/metadata/policy_test.go index 58e19d7..cc6b36f 100644 --- a/metadata/policy_test.go +++ b/metadata/policy_test.go @@ -26,7 +26,7 @@ import ( "reflect" "testing" - . "fscrypt/util" + "github.com/google/fscrypt/util" ) const goodDescriptor = "0123456789abcdef" @@ -38,12 +38,13 @@ var goodPolicy = &PolicyData{ // Creates a temporary directory for testing. func createTestDirectory() (directory string, err error) { - baseDirectory, err := TestPath() + baseDirectory, err := util.TestPath() if err != nil { return } if s, err := os.Stat(baseDirectory); err != nil || !s.IsDir() { - return "", fmt.Errorf("%s: %q is not a valid directory", TestEnvVarName, baseDirectory) + return "", fmt.Errorf("%s: %q is not a valid directory", + util.TestEnvVarName, baseDirectory) } directoryPath := filepath.Join(baseDirectory, "test") -- cgit v1.2.3