Logo
Explore Help
Sign In
dasharo/systemd
0
0
Fork 0
You've already forked systemd
mirror of https://github.com/Dasharo/systemd.git synced 2026-03-06 15:02:31 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
systemd/test/test-execute/exec-cpuaffinity1.service

8 lines
210 B
SYSTEMD
Raw Permalink Normal View History

tests: add spdx license header to test unit/link/network/conf files Those are all consumed by our parser, so they all support comments. I was considering whether they should have a license header at all, but in the end I decided to add it because those files are often created by copying parts of real unit files. And if the real ones have a license, then those might as well. It's easier to add it than to make an exception.
2021-10-17 18:07:22 +02:00
# SPDX-License-Identifier: LGPL-2.1-or-later
test-execute: add tests for CPUAffinity=
2017-12-06 10:44:20 +09:00
[Unit]
Description=Test for CPUAffinity (simple)
[Service]
tests: use relative paths in ExecStart= and friends We want to retain *some* of the full paths in order to test more code paths. But the default should be to use the command name only. This makes the tests less visually cluttered.
2024-01-04 15:24:52 +01:00
ExecStart=sh -c 'test $$(cat /proc/self/status | grep Cpus_allowed: | rev | cut -c 1) = 1'
test-execute: add tests for CPUAffinity=
2017-12-06 10:44:20 +09:00
CPUAffinity=0
Reference in New Issue Copy Permalink
Powered by Gitea Page: 656ms Template: 4ms
English
English
Licenses API