1% This test should give no output on the terminal.
2\batchmode
3\font\test=xxx
4\errorstopmode
5\ifx\test=\nullfont
6% font not found
7\else
8% font found
9\fi
10\bye
11