ABS Glue = yellow or black?
It's ABS cement, you should be fine.

IIRC, the "yellow stuff" is the typical multi-plastic version that's somewhat more commonly found (IMPE) and can join ABS, PVC, CPVC, or any mixture of them - around this area, ABS is rarely seen other than already installed in old installations, so the yellow stuff is more useful to folks who need to repair or adapt it with PVC parts.