summaryrefslogtreecommitdiff
path: root/go-clone-test/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'go-clone-test/main.go')
-rw-r--r--go-clone-test/main.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/go-clone-test/main.go b/go-clone-test/main.go
index 464b4e3..80d5064 100644
--- a/go-clone-test/main.go
+++ b/go-clone-test/main.go
@@ -67,8 +67,6 @@ func fullRun(testDir string) {
testDir = "goclonetest"
os.Mkdir(testDir, 0755)
os.Chdir(testDir)
- os.Unsetenv("FORGE_CONFIG")
- os.Unsetenv("FORGE_GOSRC")
me.forge = forgepb.Init()
wd := filepath.Join(me.startPwd, testDir)
@@ -102,16 +100,12 @@ func prepBinary(testDir string, gopath string) {
// switching GOSRC paths in the middle of doing things? It probably
// shouldn't be supported or work the way it does. which, in this
// case, breaks this test app
- os.Unsetenv("FORGE_CONFIG")
- os.Unsetenv("FORGE_GOSRC")
runStrict(wd, []string{"sync"})
runStrict(wd, []string{"/home/jcarr/go/bin/go-clone", "--recursive", gopath, "--work", "--ignore"})
// runStrict(wd, []string{"/home/jcarr/go/bin/go-clone", "--work"})
}
func buildBinary(testDir string, gopath string) {
- os.Unsetenv("FORGE_CONFIG")
- os.Unsetenv("FORGE_GOSRC")
me.forge = forgepb.Init()
if err := me.forge.ConfigSave(); err != nil {
log.Info("crapnuts. forge.ConfigSave() failed", err)