7a561e21d2bc570f2602bae5150f91c0d4d36ec9 gperez2 Wed Jul 29 10:27:56 2026 -0700 Updating hubApi list27 expected output to include the clade field, and removing clade from excludeLines (added in commit e71e94fff95), No RM diff --git src/hg/hubApi/tests/makefile src/hg/hubApi/tests/makefile index c81e16564f9..8ef1032fbb2 100644 --- src/hg/hubApi/tests/makefile +++ src/hg/hubApi/tests/makefile @@ -73,31 +73,31 @@ err41 err42 err43 err44 err45 err46 err47 err48 err49 err50 \ err51 err52 err53 notSupported: notSup01 notSup02 notSup03 notSup07 notSup10 bugReports: redmine24089a redmine24089b redmine24666 redmine25840 setOutput: @if [ ! -d testOutput ]; then mkdir testOutput; fi clean:: rm -f testOutput/*.gz rmdir testOutput # exclude these lines from the JSON output for comparison with expected -excludeLines = downloadTime|dataTime|priority|clade +excludeLines = downloadTime|dataTime|priority # testing /list/noSubCommand, /list/publicHubs and /list/ucscGenomes test0: setOutput @./jsonConsumer.pl -serverName="${SERVERNAME}" -test0 2>&1 | sed -e 's#https://.*/list#/list#;' | egrep -v "${excludeLines}" | gzip -c > testOutput/$@.gz @zdiff expected/$@.gz testOutput/$@.gz @echo '### test0: ./jsonConsumer.pl -serverName="${SERVERNAME}" -test0 - OK' ################################################### list functions ########### # testing /list/hubGenomes list01: setOutput @printf "### $@ '${SERVERNAME}/cgi-bin/hubApi/list/hubGenomes?hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt'\n" "${SERVERNAME}" @./jsonConsumer.pl -serverName="${SERVERNAME}" -hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt -endpoint="/list/hubGenomes" 2>&1 | egrep -v "${excludeLines}" | sed -e 's#https://.*/list#/list#;' | gzip -c > testOutput/$@.gz @zdiff expected/$@.gz testOutput/$@.gz # testing /list/tracks? hubUrl genome=araTha1 trackLeavesOnly