]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-cpuaffinity1.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-cpuaffinity1.service
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for CPUAffinity (simple)
4
5 [Service]
6 ExecStart=/bin/sh -c 'test $$(cat /proc/self/status | grep Cpus_allowed: | rev | cut -c 1) = 1'
7 CPUAffinity=0