241c9f508f
Use g_shell_quote to quote the value set for OSTREE_VERSION in /etc/os-release as this is an arbitrary string set at compose time that may contain whitespace or other special characters. This edge case was found in [0] as the compose are built with the following command: $ rpm-ostree compose tree \ --repo="repo" \ --cachedir="cache" \ --add-metadata-string="version=Kinoite 30.23" \ "fedora-kinoite.yaml" [0] https://discussion.fedoraproject.org/t/kinoite-a-kde-and-now-xfce-version-of-fedora-silverblue/147/95 Signed-off-by: Timothée Ravier <tim@siosm.fr> Closes: #1873 Approved by: jlebon |
||
---|---|---|
.. | ||
libbasic-test.sh | ||
libcomposetest.sh | ||
run-test.sh | ||
test-basic-unified.sh | ||
test-basic.sh | ||
test-boot-location-modules.sh | ||
test-boot-location-new.sh | ||
test-install-langs.sh | ||
test-installroot.sh | ||
test-lockfile.sh | ||
test-machineid-compat.sh | ||
test-misc-tweaks.sh | ||
test-mutate-os-release.sh | ||
test-rojig-e2e.sh | ||
test-rojig-pure.sh | ||
test-write-commitid.sh |