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/makefile src/hg/utils/hubCheck/tests/makefile
index ba0cd6bfc8e..b5cb1189b23 100644
--- src/hg/utils/hubCheck/tests/makefile
+++ src/hg/utils/hubCheck/tests/makefile
@@ -1,21 +1,21 @@
 kentSrc = ../../../..
 include ../../../../inc/common.mk
 
 hubCheck = ${DESTBINDIR}/hubCheck
 
-test:: one two errors supertrackChild genomesErrors badType badSubgroups autoScale noLongLabel
+test:: one two errors supertrackChild genomesErrors badType badSubgroups autoScale noLongLabel badGroups goodGroups noCompositeGroup
 	${MAKE} clean
 
 one:	mkout
 	-${hubCheck} input/hub1.txt > output/output1.txt
 	diff expected/output1.txt output/output1.txt
 
 two:	mkout
 	-${hubCheck} input/hub2.txt > output/output2.txt 2> /dev/null
 	diff expected/output2.txt output/output2.txt
 
 supertrackChild: mkout
 	-${hubCheck} input/supertrackChild.txt > output/supertrackChild.txt 2> /dev/null
 	diff expected/supertrackChild.txt output/supertrackChild.txt
 
 errors:	mkout
@@ -30,20 +30,32 @@
 	-${hubCheck} input/badType.txt > output/badType.output.txt 2>/dev/null
 	diff expected/badType.output.txt output/badType.output.txt
 
 badSubgroups: mkout
 	-${hubCheck} input/badSubGroups.txt > output/badSubGroups.output.txt 2>/dev/null
 	diff expected/badSubGroups.output.txt output/badSubGroups.output.txt
 
 autoScale: mkout
 	-${hubCheck} input/autoScaleHub.txt > output/autoScaleHub.output.txt 2>/dev/null
 	diff expected/autoScaleHub.txt output/autoScaleHub.output.txt
 
 noLongLabel:	mkout
 	-${hubCheck} input/noLongLabel.txt > output/noLongLabel.txt
 	diff expected/noLongLabel.txt output/noLongLabel.txt
 
+badGroups: mkout
+	-${hubCheck} input/badGroups.txt > output/badGroups.output.txt 2>/dev/null
+	diff expected/badGroups.output.txt output/badGroups.output.txt
+
+goodGroups: mkout
+	-${hubCheck} input/goodGroups.txt > output/goodGroups.output.txt
+	diff expected/goodGroups.output.txt output/goodGroups.output.txt
+
+noCompositeGroup: mkout
+	-${hubCheck} input/noCompositeGroup.txt > output/noCompositeGroup.ouptut.txt 2>/dev/null
+	diff expected/noCompositeGroup.output.txt output/noCompositeGroup.txt
+
 mkout::
 	@mkdir -p output
 clean::
 	rm -rf output