summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-09 18:16:54 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-09 18:16:54 +0100
commit32802361561403cb6441198c82d9c499e0513863 (patch)
tree20b5f2998d56b2b7a2b801cad42fc0ca74c907c5 /src/test
parent7dcd79c295fb1f4bcdda5ead43739acf34100ef8 (diff)
sd-bus: get rid of PID starttime concept
As kdbus no longer exports this, remove all traces from sd-bus too
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test-util.c b/src/test/test-util.c
index 1602aa6393..20e711d415 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -492,7 +492,6 @@ static void test_get_process_comm(void) {
struct stat st;
_cleanup_free_ char *a = NULL, *c = NULL, *d = NULL, *f = NULL, *i = NULL, *cwd = NULL, *root = NULL;
_cleanup_free_ char *env = NULL;
- unsigned long long b;
pid_t e;
uid_t u;
gid_t g;
@@ -507,9 +506,6 @@ static void test_get_process_comm(void) {
log_warning("/proc/1/comm does not exist.");
}
- assert_se(get_starttime_of_pid(1, &b) >= 0);
- log_info("pid1 starttime: '%llu'", b);
-
assert_se(get_process_cmdline(1, 0, true, &c) >= 0);
log_info("pid1 cmdline: '%s'", c);