Lines Matching refs:actual

300         char *actual;  in TEST()  local
302 actual = strjoina("", "foo", "bar"); in TEST()
303 assert_se(streq(actual, "foobar")); in TEST()
305 actual = strjoina("foo", "bar", "baz"); in TEST()
306 assert_se(streq(actual, "foobarbaz")); in TEST()
308 actual = strjoina("foo", "", "bar", "baz"); in TEST()
309 assert_se(streq(actual, "foobarbaz")); in TEST()
311 actual = strjoina("foo"); in TEST()
312 assert_se(streq(actual, "foo")); in TEST()
314 actual = strjoina(NULL); in TEST()
315 assert_se(streq(actual, "")); in TEST()
317 actual = strjoina(NULL, "foo"); in TEST()
318 assert_se(streq(actual, "")); in TEST()
320 actual = strjoina("foo", NULL, "bar"); in TEST()
321 assert_se(streq(actual, "foo")); in TEST()
323 actual = strjoina("/sys/fs/cgroup/", "dn", "/a/b/c", "/cgroup.procs"); in TEST()
324 assert_se(streq(actual, "/sys/fs/cgroup/dn/a/b/c/cgroup.procs")); in TEST()
326 actual = strjoina("/sys/fs/cgroup/", "dn", NULL, NULL); in TEST()
327 assert_se(streq(actual, "/sys/fs/cgroup/dn")); in TEST()
331 char *actual; in TEST() local
333 actual = strjoin("", "foo", "bar"); in TEST()
334 assert_se(streq(actual, "foobar")); in TEST()
335 mfree(actual); in TEST()
337 actual = strjoin("foo", "bar", "baz"); in TEST()
338 assert_se(streq(actual, "foobarbaz")); in TEST()
339 mfree(actual); in TEST()
341 actual = strjoin("foo", "", "bar", "baz"); in TEST()
342 assert_se(streq(actual, "foobarbaz")); in TEST()
343 mfree(actual); in TEST()
345 actual = strjoin("foo", NULL); in TEST()
346 assert_se(streq(actual, "foo")); in TEST()
347 mfree(actual); in TEST()
349 actual = strjoin(NULL, NULL); in TEST()
350 assert_se(streq(actual, "")); in TEST()
351 mfree(actual); in TEST()
353 actual = strjoin(NULL, "foo"); in TEST()
354 assert_se(streq(actual, "")); in TEST()
355 mfree(actual); in TEST()
357 actual = strjoin("foo", NULL, "bar"); in TEST()
358 assert_se(streq(actual, "foo")); in TEST()
359 mfree(actual); in TEST()