gentest: Fix a warning.