Commit c09ba8b0 authored by Jameson Rollins's avatar Jameson Rollins

test: systemd-run --collect option not available on older OS

seems to have been introduced post 232, which is what's on stretch.
parent 92087367
Pipeline #16177 passed with stages
in 34 seconds
...@@ -10,7 +10,7 @@ DIST := $(PACKAGE)-$(SVERS) ...@@ -10,7 +10,7 @@ DIST := $(PACKAGE)-$(SVERS)
WITH_SYSTEMD := $(shell which systemd-run) WITH_SYSTEMD := $(shell which systemd-run)
ifdef WITH_SYSTEMD ifdef WITH_SYSTEMD
TEST_NAME := guardtest_$(shell pwgen 7 1) TEST_NAME := guardtest_$(shell pwgen 7 1)
TEST_EXEC := systemd-run --user --scope --unit=$(TEST_NAME) --slice=$(TEST_NAME) --collect TEST_EXEC := systemd-run --user --scope --unit=$(TEST_NAME) --slice=$(TEST_NAME) #--collect
endif endif
########## ##########
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment