390ac49268af6881834e0b5eda1f7186814126cc
chmalee
  Thu Mar 6 10:31:39 2025 -0800
Check that subtracks have the same group setting as their parent track, refs #35078

diff --git src/hg/utils/hubCheck/tests/input/goodGroups.txt src/hg/utils/hubCheck/tests/input/goodGroups.txt
new file mode 100644
index 00000000000..48862986fe7
--- /dev/null
+++ src/hg/utils/hubCheck/tests/input/goodGroups.txt
@@ -0,0 +1,45 @@
+hub groupsTest
+shortLabel groupsTest
+longLabel groupsTest
+genomesFile goodGroups.txt
+email email@email.email
+
+genome hs1
+trackDb goodGroups.txt
+useOneFile on
+groups groupSpec.txt
+
+track goodGroupsComposite
+group test
+visibility dense
+compositeTrack on
+type bigBed 9
+shortLabel goodGroupsComposite
+longLabel goodGroupsComposite
+html https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/browser/CHM13/html/censat.html
+mouseOverField name
+priority 20
+
+    track goodGroupsGoodChild
+    parent goodGroupsComposite
+    shortLabel goodGroupsGoodChild
+    longLabel goodGroupsGoodChild
+    group test
+    type bigBed 9
+    visibility dense
+    itemRgb on
+    bigDataUrl https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/browser/CHM13/bbi/censat_v2.1.bb
+    html https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/browser/CHM13/html/censat.html
+    priority 20.1
+
+    track goodGroupsBadChild
+    parent goodGroupsComposite
+    shortLabel goodGroupsBadChild
+    longLabel goodGroupsBadChild
+    group test
+    type bigBed 9
+    visibility dense
+    itemRgb on
+    bigDataUrl https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/browser/CHM13/bbi/censatStrand_v2.1.bb
+    html https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/browser/CHM13/html/censat.html
+    priority 20.2