mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 21:33:33 +02:00
Added login hash test
This commit is contained in:
parent
7c223c2987
commit
d0fdda8b5f
3 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
CC = gcc
|
||||
TEST = test
|
||||
OBJS = test.o base32.o read.o dns.o encoding.o
|
||||
SRCOBJS = ../src/base32.o ../src/read.o ../src/dns.o ../src/encoding.o
|
||||
OBJS = test.o base32.o read.o dns.o encoding.o login.o
|
||||
SRCOBJS = ../src/base32.o ../src/read.o ../src/dns.o ../src/encoding.o ../src/login.o ../src/md5.o
|
||||
|
||||
OS = `uname | tr "a-z" "A-Z"`
|
||||
|
||||
|
|
|
@ -58,6 +58,9 @@ main()
|
|||
test = test_read_create_tests();
|
||||
suite_add_tcase(iodine, test);
|
||||
|
||||
test = test_login_create_tests();
|
||||
suite_add_tcase(iodine, test);
|
||||
|
||||
runner = srunner_create(iodine);
|
||||
srunner_run_all(runner, CK_VERBOSE);
|
||||
failed = srunner_ntests_failed(runner);
|
||||
|
|
|
@ -21,6 +21,7 @@ TCase *test_base32_create_tests();
|
|||
TCase *test_dns_create_tests();
|
||||
TCase *test_encoding_create_tests();
|
||||
TCase *test_read_create_tests();
|
||||
TCase *test_login_create_tests();
|
||||
|
||||
char *va_str(const char *, ...);
|
||||
|
||||
|
|
Loading…
Reference in a new issue