From 524c285d88443e143b1938ee6cd3dde26d7deef0 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 6 Jul 2025 13:39:54 +0100 Subject: [PATCH] smb: skip non integration tests when doing integration tests --- backend/smb/smb_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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"))