check-attr -z: a single -z should apply to both input and output