Browse Source

Fix integration tests

Audrius Butkevicius 10 years ago
parent
commit
50d377d9fe
3 changed files with 5 additions and 2 deletions
  1. 2 1
      test/cli_test.go
  2. 2 1
      test/conflict_test.go
  3. 1 0
      test/util.go

+ 2 - 1
test/cli_test.go

@@ -11,9 +11,10 @@ package integration
 import (
 	"os"
 	"os/exec"
-	"path/filepath"
 	"testing"
 	"time"
+
+	"github.com/syncthing/syncthing/internal/osutil"
 )
 
 func TestCLIReset(t *testing.T) {

+ 2 - 1
test/conflict_test.go

@@ -12,9 +12,10 @@ import (
 	"io/ioutil"
 	"log"
 	"os"
-	"path/filepath"
 	"testing"
 	"time"
+
+	"github.com/syncthing/syncthing/internal/osutil"
 )
 
 func TestConflict(t *testing.T) {

+ 1 - 0
test/util.go

@@ -24,6 +24,7 @@ import (
 	"strings"
 	"time"
 
+	"github.com/syncthing/syncthing/internal/osutil"
 	"github.com/syncthing/syncthing/internal/symlinks"
 )