Home
last modified time | relevance | path

Searched refs:largestr (Results 1 – 1 of 1) sorted by relevance

/external/kmod/testsuite/
Dtest-scratchbuf.c56 const char *largestr = "xyzxyzxyz"; in test_scratchbuf_heap() local
68 assert_return(scratchbuf_alloc(&sbuf, strlen(largestr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
70 assert_return(sbuf.size == strlen(largestr) + 1, EXIT_FAILURE); in test_scratchbuf_heap()
72 memcpy(scratchbuf_str(&sbuf), largestr, strlen(largestr) + 1); in test_scratchbuf_heap()
73 assert_return(strcmp(scratchbuf_str(&sbuf), largestr) == 0, EXIT_FAILURE); in test_scratchbuf_heap()