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.
This commit is contained in:
nielash 2025-09-01 09:30:57 -04:00
parent 58aee30de7
commit 3369a15285
1 changed files with 3 additions and 0 deletions

View File

@ -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")
}