test: Updates for fs/osutil package changes

This commit is contained in:
Jakob Borg
2017-11-05 10:05:18 +01:00
parent d7d45d8092
commit 72c5f2e5c6
6 changed files with 28 additions and 29 deletions

View File

@@ -11,10 +11,9 @@ package integration
import (
"os"
"os/exec"
"path/filepath"
"testing"
"time"
"github.com/syncthing/syncthing/lib/osutil"
)
func TestCLIReset(t *testing.T) {
@@ -50,7 +49,7 @@ func TestCLIReset(t *testing.T) {
// Clean up
dirs, err = osutil.Glob("*.syncthing-reset-*")
dirs, err = filepath.Glob("*.syncthing-reset-*")
if err != nil {
t.Fatal(err)
}