diff --git a/backend/smb/smb_test.go b/backend/smb/smb_test.go index f22bdb7f9..168966adb 100644 --- a/backend/smb/smb_test.go +++ b/backend/smb/smb_test.go @@ -6,6 +6,7 @@ import ( "testing" "github.com/rclone/rclone/backend/smb" + "github.com/rclone/rclone/fstest" "github.com/rclone/rclone/fstest/fstests" ) @@ -18,6 +19,9 @@ func TestIntegration(t *testing.T) { } func TestIntegration2(t *testing.T) { + if *fstest.RemoteName != "" { + t.Skip("skipping as -remote is set") + } krb5Dir := t.TempDir() t.Setenv("KRB5_CONFIG", filepath.Join(krb5Dir, "krb5.conf")) t.Setenv("KRB5CCNAME", filepath.Join(krb5Dir, "ccache"))