diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 07:40:30 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | 145f9ff9775ae174ffbfc87dd82962c80b09a13c (patch) | |
tree | 25ec9b43af905752f78351794646fc928a8d854f /src/test | |
parent | 22c96ab58948d6f7e8e68eb681550c8f5c27134b (diff) |
Prep v239: Do not test ioprio_class_from_to_string()
elogind doesn't need and thus does not support it.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-process-util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c index bbaf3f925..f19875dae 100644 --- a/src/test/test-process-util.c +++ b/src/test/test-process-util.c @@ -564,6 +564,7 @@ static void test_pid_to_ptr(void) { #endif } +#if 0 /// UNNEEDED by elogind static void test_ioprio_class_from_to_string_one(const char *val, int expected) { assert_se(ioprio_class_from_string(val) == expected); if (expected >= 0) { @@ -589,6 +590,7 @@ static void test_ioprio_class_from_to_string(void) { test_ioprio_class_from_to_string_one("9", -1); test_ioprio_class_from_to_string_one("-1", -1); } +#endif // 0 int main(int argc, char *argv[]) { log_set_max_level(LOG_DEBUG); @@ -622,7 +624,9 @@ int main(int argc, char *argv[]) { test_getpid_measure(); test_safe_fork(); test_pid_to_ptr(); +#if 0 /// UNNEEDED by elogind test_ioprio_class_from_to_string(); +#endif // 0 return 0; } |