mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-16 21:29:20 +02:00
Added login hash test
This commit is contained in:
parent
7c223c2987
commit
d0fdda8b5f
|
@ -1,7 +1,7 @@
|
||||||
CC = gcc
|
CC = gcc
|
||||||
TEST = test
|
TEST = test
|
||||||
OBJS = test.o base32.o read.o dns.o 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
|
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"`
|
OS = `uname | tr "a-z" "A-Z"`
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,9 @@ main()
|
||||||
test = test_read_create_tests();
|
test = test_read_create_tests();
|
||||||
suite_add_tcase(iodine, test);
|
suite_add_tcase(iodine, test);
|
||||||
|
|
||||||
|
test = test_login_create_tests();
|
||||||
|
suite_add_tcase(iodine, test);
|
||||||
|
|
||||||
runner = srunner_create(iodine);
|
runner = srunner_create(iodine);
|
||||||
srunner_run_all(runner, CK_VERBOSE);
|
srunner_run_all(runner, CK_VERBOSE);
|
||||||
failed = srunner_ntests_failed(runner);
|
failed = srunner_ntests_failed(runner);
|
||||||
|
|
|
@ -21,6 +21,7 @@ TCase *test_base32_create_tests();
|
||||||
TCase *test_dns_create_tests();
|
TCase *test_dns_create_tests();
|
||||||
TCase *test_encoding_create_tests();
|
TCase *test_encoding_create_tests();
|
||||||
TCase *test_read_create_tests();
|
TCase *test_read_create_tests();
|
||||||
|
TCase *test_login_create_tests();
|
||||||
|
|
||||||
char *va_str(const char *, ...);
|
char *va_str(const char *, ...);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue