From 3369a15285c3af9250eafc46c6041f0c104758ae Mon Sep 17 00:00:00 2001 From: nielash Date: Mon, 1 Sep 2025 09:30:57 -0400 Subject: [PATCH] bisync: fix TestBisyncConcurrent ignoring -case Before this change, TestBisyncConcurrent would still run the "basic" test case if a non-blank -case arg was used to specify a case other than "basic". This change fixes it by skipping in this scenario. --- cmd/bisync/bisync_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/bisync/bisync_test.go b/cmd/bisync/bisync_test.go index 35abd01ed..045c6173b 100644 --- a/cmd/bisync/bisync_test.go +++ b/cmd/bisync/bisync_test.go @@ -285,6 +285,9 @@ func TestBisyncConcurrent(t *testing.T) { if !isLocal(*fstest.RemoteName) { t.Skip("TestBisyncConcurrent is skipped on non-local") } + if *argTestCase != "" && *argTestCase != "basic" { + t.Skip("TestBisyncConcurrent only tests 'basic'") + } if *argPCount < 2 { t.Skip("TestBisyncConcurrent is pointless with -pcount < 2") }