Rev 2022 | Rev 2029 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2022 | Rev 2028 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | #include <debug.h> |
30 | #include <debug.h> |
31 | #include <panic.h> |
31 | #include <panic.h> |
32 | 32 | ||
33 | #include <test.h> |
33 | #include <test.h> |
34 | #include <sysinfo/sysinfo.h> |
34 | #include <sysinfo/sysinfo.h> |
35 | /* |
- | |
36 | static unative_t counter(sysinfo_item_t *root) |
- | |
37 | { |
- | |
38 | static unative_t i=0; |
- | |
39 | return i++; |
- | |
40 | }*/ |
- | |
41 | 35 | ||
42 | void test_sysinfo1(void) |
36 | char * test_sysinfo1(void) |
43 | { |
37 | { |
44 | /* sysinfo_set_item_val("Ahoj.lidi.uaaaa",NULL,9); |
- | |
45 | sysinfo_set_item_val("Ahoj.lidi.ubbbb",NULL,15); |
- | |
46 | sysinfo_set_item_val("Ahoj.lidi",NULL,64); |
- | |
47 | sysinfo_set_item_function("Ahoj",NULL,counter); |
- | |
48 | sysinfo_dump(NULL,0); |
38 | sysinfo_dump(NULL, 0); |
49 | sysinfo_set_item_val("Ahoj.lidi.ubbbb",NULL,75); |
- | |
50 | sysinfo_dump(NULL,0); |
- | |
51 | sysinfo_dump(NULL,0); |
- | |
52 | sysinfo_dump(NULL,0);*/ |
- | |
53 | sysinfo_dump(NULL,0); |
39 | return NULL; |
54 | } |
40 | } |