]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze: fix typos in test policy
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 4 Nov 2021 19:22:28 +0000 (19:22 +0000)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 4 Nov 2021 19:22:28 +0000 (19:22 +0000)
test/units/testsuite-65.sh

index c2cbf33cf52b045dc0f2eb0a78077f35c29edfca..64a7a34ed957c3c927a6d8a8d73b47a7b0a1890a 100755 (executable)
@@ -106,7 +106,7 @@ systemd-analyze security --threshold=90 --offline=true --root=/tmp/img/ testfile
 # set to 'yes' (as above in the case of testfile.service) in the content of the unit file, the overall exposure
 # level for the unit file should decrease to account for that increased weight.
 cat <<EOF >/tmp/testfile.json
-{"User_Or_DynamicUser":
+{"UserOrDynamicUser":
     {"description_bad": "Service runs as root user",
     "weight": 2000,
     "range": 10
@@ -192,7 +192,7 @@ cat <<EOF >/tmp/testfile.json
     {"weight": 1000,
     "range": 10
     },
-"RootDirectory_Or_RootImage":
+"RootDirectoryOrRootImage":
     {"description_good": "Service has its own root directory/image",
     "description_bad": "Service runs within the host's root directory",
     "weight": 200,