Logo
Explore Help
Sign In
morgan/systemd
1
0
Fork 0
You've already forked systemd
mirror of https://github.com/morgan9e/systemd synced 2026-04-15 00:47:10 +09:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
systemd/test/test-execute/exec-supplementarygroups.service

10 lines
310 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: Add simple test for supplementary groups
2016-10-14 10:32:27 +02:00
[Unit]
Description=Test for Supplementary Group
[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 -x -c 'for g in $$(id -G); do test "$$g" = "%G" && exit 0; done; exit 1'
ExecStart=sh -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1'
test: Add simple test for supplementary groups
2016-10-14 10:32:27 +02:00
Type=oneshot
SupplementaryGroups=1
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 1889ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API