| File tests/misc/dcache.c changed (mode: 100644) (index f1c12a562..0807a37c4) |
| 6 |
6 |
|
|
| 7 |
7 |
#include "../../src/cfg/config.h" |
#include "../../src/cfg/config.h" |
| 8 |
8 |
#include "../../src/ui/ui.h" |
#include "../../src/ui/ui.h" |
|
9 |
|
#include "../../src/utils/str.h" |
| 9 |
10 |
#include "../../src/status.h" |
#include "../../src/status.h" |
| 10 |
11 |
|
|
| 11 |
12 |
#include "utils.h" |
#include "utils.h" |
| 12 |
13 |
|
|
| 13 |
14 |
SETUP() |
SETUP() |
| 14 |
15 |
{ |
{ |
|
16 |
|
update_string(&cfg.shell, ""); |
| 15 |
17 |
assert_success(init_status(&cfg)); |
assert_success(init_status(&cfg)); |
| 16 |
18 |
} |
} |
| 17 |
19 |
|
|
|
20 |
|
TEARDOWN() |
|
21 |
|
{ |
|
22 |
|
update_string(&cfg.shell, NULL); |
|
23 |
|
} |
|
24 |
|
|
| 18 |
25 |
TEST(size_does_not_clobber_nitems) |
TEST(size_does_not_clobber_nitems) |
| 19 |
26 |
{ |
{ |
| 20 |
27 |
uint64_t size; |
uint64_t size; |
| File tests/misc/sort.c changed (mode: 100644) (index 507bc0f72..dbae10897) |
| ... |
... |
SETUP() |
| 44 |
44 |
rwin.dir_entry[0].type = FT_REG; |
rwin.dir_entry[0].type = FT_REG; |
| 45 |
45 |
rwin.dir_entry[1].name = strdup("АААААААААА"); |
rwin.dir_entry[1].name = strdup("АААААААААА"); |
| 46 |
46 |
rwin.dir_entry[1].type = FT_REG; |
rwin.dir_entry[1].type = FT_REG; |
|
47 |
|
|
|
48 |
|
update_string(&cfg.shell, ""); |
| 47 |
49 |
} |
} |
| 48 |
50 |
|
|
| 49 |
51 |
TEARDOWN() |
TEARDOWN() |
| 50 |
52 |
{ |
{ |
|
53 |
|
update_string(&cfg.shell, NULL); |
|
54 |
|
|
| 51 |
55 |
view_teardown(&lwin); |
view_teardown(&lwin); |
| 52 |
56 |
view_teardown(&rwin); |
view_teardown(&rwin); |
| 53 |
57 |
} |
} |