| .. | .. |
|---|
| 430 | 430 | { |
|---|
| 431 | 431 | char *tmp1, *tmp2, *our_path; |
|---|
| 432 | 432 | |
|---|
| 433 | | - ksft_print_header(); |
|---|
| 434 | | - |
|---|
| 435 | 433 | /* Find our path */ |
|---|
| 436 | 434 | tmp1 = strdup(argv[0]); |
|---|
| 437 | 435 | if (!tmp1) |
|---|
| .. | .. |
|---|
| 445 | 443 | mpid = getpid(); |
|---|
| 446 | 444 | |
|---|
| 447 | 445 | if (fork_wait()) { |
|---|
| 446 | + ksft_print_header(); |
|---|
| 447 | + ksft_set_plan(12); |
|---|
| 448 | 448 | ksft_print_msg("[RUN]\t+++ Tests with uid == 0 +++\n"); |
|---|
| 449 | 449 | return do_tests(0, our_path); |
|---|
| 450 | 450 | } |
|---|
| .. | .. |
|---|
| 452 | 452 | ksft_print_msg("==================================================\n"); |
|---|
| 453 | 453 | |
|---|
| 454 | 454 | if (fork_wait()) { |
|---|
| 455 | + ksft_print_header(); |
|---|
| 456 | + ksft_set_plan(9); |
|---|
| 455 | 457 | ksft_print_msg("[RUN]\t+++ Tests with uid != 0 +++\n"); |
|---|
| 456 | 458 | return do_tests(1, our_path); |
|---|
| 457 | 459 | } |
|---|