Browse Source

Fixed sub-package references. Commented out broken top-level test code.

Adam Pritchard 11 years ago
parent
commit
09bfdc26bc
3 changed files with 4 additions and 6 deletions
  1. 1 1
      psiphon/config_test.go
  2. 1 1
      psiphonTunnelCore.go
  3. 2 4
      psiphonTunnelCore_test.go

+ 1 - 1
psiphon/config_test.go

@@ -37,7 +37,7 @@ import (
 )
 )
 
 
 const (
 const (
-	_TEST_DIR = "testfiles"
+	_TEST_DIR = "./testfiles"
 )
 )
 
 
 type ConfigTestSuite struct {
 type ConfigTestSuite struct {

+ 1 - 1
psiphonTunnelCore.go

@@ -22,7 +22,7 @@ package main
 import (
 import (
 	"flag"
 	"flag"
 	"log"
 	"log"
-	"psiphon"
+	"github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon"
 )
 )
 
 
 func main() {
 func main() {

+ 2 - 4
psiphonTunnelCore_test.go

@@ -20,11 +20,9 @@
 package main
 package main
 
 
 import (
 import (
-	"psiphon"
+	//"github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon"
+	"testing"
 )
 )
 
 
 func TestPsiphon(t *testing.T) {
 func TestPsiphon(t *testing.T) {
-	var config psiphon.Config
-	// TODO: put a test config here
-	psiphon.RunTunnelForever(&config)
 }
 }