• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

libcgroup / libcgroup / 15214395894
56%

Build:
DEFAULT BRANCH: main
Ran 23 May 2025 04:00PM UTC
Jobs 5
Files 38
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 May 2025 03:51PM UTC coverage: 56.219% (+0.03%) from 56.191%
15214395894

push

github

drakenclimber
src: handle NULL options in cgroup_parse_rules_options

We don't want to pass NULL to strtok:
```
[ RUN      ] ParseRulesOptionsTest.RulesOptions_NullOptions
==2006496== Conditional jump or move depends on uninitialised value(s)
==2006496==    at 0x520D156: strtok_r (strtok_r.c:49)
==2006496==    by 0x403FB7E: cgroup_parse_rules_options (api.c:529)
==2006496==    by 0x4005F41: ParseRulesOptionsTest_RulesOptions_NullOptions_Test::TestBody() (002-cgroup_parse_rules_options.cpp:89)
==2006496==    by 0x4ABA45D: ??? (in /usr/lib64/libgtest.so.1.15.2)
==2006496==    by 0x4ABE5AB: ??? (in /usr/lib64/libgtest.so.1.15.2)
==2006496==    by 0x4A9D949: testing::TestInfo::Run() (in /usr/lib64/libgtest.so.1.15.2)
==2006496==    by 0x4ABF18A: ??? (in /usr/lib64/libgtest.so.1.15.2)
==2006496==    by 0x4AB7467: testing::internal::UnitTestImpl::RunAllTests() (in /usr/lib64/libgtest.so.1.15.2)
==2006496==    by 0x4AACC46: testing::UnitTest::Run() (in /usr/lib64/libgtest.so.1.15.2)
==2006496==    by 0x4002345: UnknownInlinedFun (gtest.h:2334)
==2006496==    by 0x4002345: main (gtest.cpp:15)
==2006496==
Error: failed to parse options: (null)
```

Signed-off-by: Sam James <sam@gentoo.org>
Acked-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

6 existing lines in 2 files now uncovered.

5596 of 9954 relevant lines covered (56.22%)

573.63 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
0.0
-7.14% ../../../../../usr/include/python3.12/cpython/unicodeobject.h
4
0.0
-100.0% ../../../../../usr/include/python3.12/cpython/classobject.h
Jobs
ID Job ID Ran Files Coverage
1 No systemd Functional Tests - 15214395894.1 23 May 2025 04:01PM UTC 28
46.59
GitHub Action Run
2 Unit Tests - 15214395894.2 23 May 2025 04:00PM UTC 36
11.1
GitHub Action Run
3 Container Tests - 15214395894.3 23 May 2025 04:00PM UTC 28
35.44
GitHub Action Run
4 No Container Tests - 15214395894.4 23 May 2025 04:03PM UTC 36
44.31
GitHub Action Run
5 Sudo Tests - 15214395894.5 23 May 2025 04:01PM UTC 36
31.65
GitHub Action Run
Source Files on build 15214395894
  • Tree
  • List 38
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 42cee67a on github
  • Prev Build on main (#14661846366)
  • Next Build on main (#15214560031)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc