From: Zbigniew Jędrzejewski-Szmek Date: Mon, 8 May 2023 10:24:37 +0000 (+0200) Subject: test-execute: use bash instead of perl X-Git-Tag: v254-rc1~529^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b370f050f89595baa238a2eaf9ba558cfcb7e249;p=thirdparty%2Fsystemd.git test-execute: use bash instead of perl I think this is easier to grok too. --- diff --git a/test/test-execute/exec-specifier-interpolation.service b/test/test-execute/exec-specifier-interpolation.service index 4cb1b065187..2e8882c5ab1 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 ]]"