summaryrefslogtreecommitdiffstats
path: root/test/test-sysusers.sh.in
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-06-05 23:48:06 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-06-06 03:37:36 +0200
commit6aea5ce814c0723474e0741df45dbf2c202ba739 (patch)
treec71422db8baeacc78f2af96b00d4a22f1558b304 /test/test-sysusers.sh.in
parentcgls/cgtop: spell field/column "CGroup" rather than "Control Group" (diff)
downloadsystemd-6aea5ce814c0723474e0741df45dbf2c202ba739.tar.xz
systemd-6aea5ce814c0723474e0741df45dbf2c202ba739.zip
tests: fix shellcheck warnings
Diffstat (limited to 'test/test-sysusers.sh.in')
-rwxr-xr-xtest/test-sysusers.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-sysusers.sh.in b/test/test-sysusers.sh.in
index 3bcc87561f..5d66c6776d 100755
--- a/test/test-sysusers.sh.in
+++ b/test/test-sysusers.sh.in
@@ -140,7 +140,7 @@ for f in $(find "$SOURCE"/test-*.input | sort -V); do
# shellcheck disable=SC2050
[ @ENABLE_COMPAT_MUTABLE_UID_BOUNDARIES@ = 1 ] && bound=555 || bound=$system_guid_max
- compare "${f%.*}" "(with login.defs)" $bound
+ compare "${f%.*}" "(with login.defs)" "$bound"
done
rm -f "$TESTDIR"/etc/sysusers.d/* "$TESTDIR"/usr/lib/sysusers.d/*
@@ -156,7 +156,7 @@ for f in $(find "$SOURCE"/test-*.input | sort -V); do
# shellcheck disable=SC2050
[ @ENABLE_COMPAT_MUTABLE_UID_BOUNDARIES@ = 1 ] && bound=555 || bound=$system_guid_max
- compare "${f%.*}" "(with login.defs symlinked)" $bound
+ compare "${f%.*}" "(with login.defs symlinked)" "$bound"
done
rm -f "$TESTDIR"/etc/sysusers.d/* "$TESTDIR"/usr/lib/sysusers.d/*