diff options
author | Maanya Goenka <maanyagoenka@microsoft.com> | 2023-07-14 18:36:50 +0200 |
---|---|---|
committer | Maanya Goenka <maanyagoenka@microsoft.com> | 2023-07-14 18:50:33 +0200 |
commit | 8a324d16489c379d8c1fa0d7528e4c7340e951c0 (patch) | |
tree | 7f72d9c457438b5eee2b23e8a74edc9701f06074 | |
parent | catalog: update Polish translation (diff) | |
download | systemd-8a324d16489c379d8c1fa0d7528e4c7340e951c0.tar.xz systemd-8a324d16489c379d8c1fa0d7528e4c7340e951c0.zip |
sysext: change the table lookup string to be more verbose
-rw-r--r-- | src/basic/os-util.c | 2 | ||||
-rwxr-xr-x | test/units/testsuite-50.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/os-util.c b/src/basic/os-util.c index 5d06e20871..3046a40ebd 100644 --- a/src/basic/os-util.c +++ b/src/basic/os-util.c @@ -23,7 +23,7 @@ static const char* const image_class_table[_IMAGE_CLASS_MAX] = { [IMAGE_MACHINE] = "machine", [IMAGE_PORTABLE] = "portable", - [IMAGE_SYSEXT] = "extension", + [IMAGE_SYSEXT] = "sysext", [IMAGE_CONFEXT] = "confext", }; diff --git a/test/units/testsuite-50.sh b/test/units/testsuite-50.sh index fc73f01cc2..5a48dd5cbd 100755 --- a/test/units/testsuite-50.sh +++ b/test/units/testsuite-50.sh @@ -461,7 +461,7 @@ touch /run/machines/a.raw /run/portables/b.raw /run/extensions/c.raw systemd-dissect --discover --json=short >/tmp/discover.json grep -q -F '{"name":"a","type":"raw","class":"machine","ro":false,"path":"/run/machines/a.raw"' /tmp/discover.json grep -q -F '{"name":"b","type":"raw","class":"portable","ro":false,"path":"/run/portables/b.raw"' /tmp/discover.json -grep -q -F '{"name":"c","type":"raw","class":"extension","ro":false,"path":"/run/extensions/c.raw"' /tmp/discover.json +grep -q -F '{"name":"c","type":"raw","class":"sysext","ro":false,"path":"/run/extensions/c.raw"' /tmp/discover.json rm /tmp/discover.json /run/machines/a.raw /run/portables/b.raw /run/extensions/c.raw # Check that the /sbin/mount.ddi helper works |