summaryrefslogtreecommitdiff
path: root/test/test-execute
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-08 12:24:37 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-09 08:11:10 +0200
commitb370f050f89595baa238a2eaf9ba558cfcb7e249 (patch)
tree418a956b09e4e0b93dc4cbf87c1a7587671ad5a5 /test/test-execute
parent21ec66420acd85835913dc46c10543400fd3b878 (diff)
downloadsystemd-b370f050f89595baa238a2eaf9ba558cfcb7e249.tar.gz
test-execute: use bash instead of perl
I think this is easier to grok too.
Diffstat (limited to 'test/test-execute')
-rw-r--r--test/test-execute/exec-specifier-interpolation.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-execute/exec-specifier-interpolation.service b/test/test-execute/exec-specifier-interpolation.service
index 4cb1b06518..2e8882c5ab 100644
--- a/test/test-execute/exec-specifier-interpolation.service
+++ b/test/test-execute/exec-specifier-interpolation.service
@@ -4,4 +4,4 @@ Description=https://github.com/systemd/systemd/issues/2637
[Service]
Type=oneshot
-ExecStart=/bin/sh -x -c "! test -x perl || perl -e 'exit(!(qq{%%U} eq qq{\\x25U}))'"
+ExecStart=/bin/bash -x -c "[[ %%U == ?U ]]"