summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-18 10:24:16 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-18 10:24:16 -0500
commit57156d9507e18106a933b3ea668528dc78d75dbe (patch)
tree2e39b86b3762399a09cbcb6bdeeba3fab35b491f /test
parent04af5d645e39b1c81d9701b0de39579164c23389 (diff)
parentbd1b973fb326e9b7587494fd6108e5ded46e9163 (diff)
Merge pull request #2646 from evverx/fix-2637
Fix #2637 (doubled specifier expansion in ExecStart=)
Diffstat (limited to 'test')
-rw-r--r--test/test-execute/exec-spec-interpolation.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-execute/exec-spec-interpolation.service b/test/test-execute/exec-spec-interpolation.service
new file mode 100644
index 0000000000..3e62662aa9
--- /dev/null
+++ b/test/test-execute/exec-spec-interpolation.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=https://github.com/systemd/systemd/issues/2637
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -x -c "perl -e 'exit(!(qq{%%U} eq qq{\\x25U}))'"