autogen: test compare strings with != not -ne

Signed-off-by: Loic Dachary <loic@dachary.org>
Merge pull request #970 from dachary/wip-autogen

autogen: test compare strings with != not -ne

Reviewed-by: Christophe Courtaut <christophe.courtaut@gmail.com>