]> git.ipfire.org Git - thirdparty/shadow.git/commit
tests/unit/test_chkhash.c: add special test cases
authorIker Pedrosa <ipedrosa@redhat.com>
Wed, 4 Feb 2026 10:15:56 +0000 (11:15 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 17 Feb 2026 23:30:57 +0000 (00:30 +0100)
commitf225f4cd62841935047d4eac1c42279856f7c22d
treed4d9d9e0b7e0c38f4058cf2f97dc233825ddfbdb
parentbdc661b82158e74d9a707a3f480002d3dfb761ee
tests/unit/test_chkhash.c: add special test cases

*, ! and empty strings are special valid cases for shadow's second
field. Add test cases for them.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
tests/unit/test_chkhash.c