mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 09:56:22 +00:00
Moved tests -> unittests
This commit is contained in:
@@ -121,6 +121,19 @@ _cleanup_dirs(void)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
prof_start(void)
|
||||
{
|
||||
fd = exp_spawnl("./profanity", NULL);
|
||||
FILE *fp = fdopen(fd, "r+");
|
||||
|
||||
if (fp == NULL) {
|
||||
assert_true(FALSE);
|
||||
}
|
||||
|
||||
setbuf(fp, (char *)0);
|
||||
}
|
||||
|
||||
void
|
||||
init_prof_test(void **state)
|
||||
{
|
||||
@@ -156,19 +169,6 @@ close_prof_test(void **state)
|
||||
stbbr_stop();
|
||||
}
|
||||
|
||||
void
|
||||
prof_start(void)
|
||||
{
|
||||
fd = exp_spawnl("./profanity", NULL);
|
||||
FILE *fp = fdopen(fd, "r+");
|
||||
|
||||
if (fp == NULL) {
|
||||
assert_true(FALSE);
|
||||
}
|
||||
|
||||
setbuf(fp, (char *)0);
|
||||
}
|
||||
|
||||
void
|
||||
prof_input(char *input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user