a7d0df2dbc1d8fded14f2631b46d47851ded1b40
chmalee
  Mon May 23 12:04:32 2022 -0700
Add a test for bogus subgroup membership in hubCheck, refs #29389, #13428

diff --git src/hg/utils/hubCheck/tests/makefile src/hg/utils/hubCheck/tests/makefile
index ab0ec5d..cc03796 100644
--- src/hg/utils/hubCheck/tests/makefile
+++ src/hg/utils/hubCheck/tests/makefile
@@ -1,37 +1,41 @@
 kentSrc = ../../../..
 include ../../../../inc/common.mk
 
 hubCheck = ${DESTBINDIR}/hubCheck
 
-test:: one two errors supertrackChild genomesErrors badType
+test:: one two errors supertrackChild genomesErrors badType badSubgroups
 	${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
 	-${hubCheck} input/manyErrorsHub.txt > output/manyErrors.output.txt 2>/dev/null
 	diff expected/manyErrors.output.txt output/manyErrors.output.txt
 
 genomesErrors: mkout
 	-${hubCheck} input/genomesConfigErrorsHub.txt > output/genomesConfigErrors.output.txt 2>/dev/null
 	diff expected/genomesConfigErrors.output.txt output/genomesConfigErrors.output.txt
 
 badType: mkout
 	-${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
+
 mkout::
 	@mkdir -p output
 clean::
 	rm -rf output