Added login hash test

This commit is contained in:
Erik Ekman 2007-01-28 04:01:10 +00:00
parent 7c223c2987
commit d0fdda8b5f
3 changed files with 6 additions and 2 deletions

View File

@ -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"`

View File

@ -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);

View File

@ -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 *, ...);