Go to the source code of this file.
|
| fail_unless (rc==3,"return code should be 3") |
|
| fail_unless (!strcmp(output,"bug"),"wrong output") |
|
| fail_unless (rc==2,"return code should be 2") |
|
| fail_unless (!strcmp(output,"bu"),"wrong output") |
|
| fail_unless (!strcmp(output,"012"),"wrong output") |
|
| fail_unless (rc==8,"return code should be 8") |
|
| fail_unless (!strcmp(output,"bug "),"wrong output") |
|
| fail_unless (!strcmp(output," bu"),"wrong output") |
|
| fail_unless (rc==4,"return code should be 4") |
|
| fail_unless (!strcmp(output,"102"),"wrong output") |
|
| fail_unless (rc==16,"return code should be 16") |
|
| fail_unless (!strcmp(output," bug bu"),"wrong output") |
|
| fail_unless (!strcmp(output," 1234 567"),"wrong output") |
|
static CURLcode | unit_setup (void) |
|
static void | unit_stop (void) |
|
fail_unless |
( |
rc |
= =3 , |
|
|
"return code should be 3" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput,"bug", |
|
|
"wrong output" |
|
|
) |
| |
fail_unless |
( |
rc |
= =2 , |
|
|
"return code should be 2" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput,"bu", |
|
|
"wrong output" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput,"012", |
|
|
"wrong output" |
|
|
) |
| |
fail_unless |
( |
rc |
= =8 , |
|
|
"return code should be 8" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput,"bug ", |
|
|
"wrong output" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput," bu", |
|
|
"wrong output" |
|
|
) |
| |
fail_unless |
( |
rc |
= =4 , |
|
|
"return code should be 4" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput,"102", |
|
|
"wrong output" |
|
|
) |
| |
fail_unless |
( |
rc |
= =16 , |
|
|
"return code should be 16" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput," bug bu", |
|
|
"wrong output" |
|
|
) |
| |
fail_unless |
( |
! |
strcmpoutput," 1234 567", |
|
|
"wrong output" |
|
|
) |
| |
static void unit_stop |
( |
void |
| ) |
|
|
static |
char buf[3] = {'b', 'u', 'g'} |