bad linux_gen.go and small gentest cleanup