19 lines
351 B
C
19 lines
351 B
C
|
|
#include <stdio.h>
|
|
|
|
int testit(const char* name, int (*func)(void)) {
|
|
printf("Testing %s...\n", name);
|
|
int retVal = func();
|
|
if (retVal)
|
|
printf("%s success!\n", name);
|
|
else
|
|
printf("** Uh oh! %s failed.**\n", name);
|
|
return retVal;
|
|
}
|
|
|
|
int main(int argc, char** argv) {
|
|
//testit("test_repo_config_init", test_repo_config_init);
|
|
|
|
return 1;
|
|
}
|
|
|