Searched defs:cmd2 (Results 1 - 2 of 2) sorted by relevance

/systemd/src/test/
H A Dtest-tmpfiles.c38 _cleanup_free_ char *cmd, *cmd2, *ans, *ans2; local
56 assert_se(asprintf(&cmd2, "ls -l /proc/"PID_FMT"/fd/%d", getpid(), fd2) > 0);
57 (void) system(cmd2);
58 assert_se(readlink_malloc(cmd2 + 6, &ans2) >= 0);
/systemd/src/journal/
H A Dtest-compress.c158 _cleanup_free_ char *cmd = NULL, *cmd2; local
189 assert_se(asprintf(&cmd2, "diff %s %s", srcfile, pattern2) > 0);
190 assert_se(system(cmd2) == 0);

Completed in 10 milliseconds