summaryrefslogtreecommitdiff
path: root/tests/test-no-initramfs.sh
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2019-04-01 19:01:49 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2019-04-11 14:28:32 +0000
commitdd6844a61ef7b82e656481d6ddd1389012ab3fb9 (patch)
treeeac8110a9c60fe8bb1157c7d7eac1ea7fa2bf67c /tests/test-no-initramfs.sh
parent077b23cc98081d66e0c959bff6351600aa0ca50f (diff)
downloadostree-dd6844a61ef7b82e656481d6ddd1389012ab3fb9.tar.gz
tests: Escape periods when appropriate
Don't match any character in a regular expression when we only want to match a period. Closes: #1834 Approved by: rfairley
Diffstat (limited to 'tests/test-no-initramfs.sh')
-rwxr-xr-xtests/test-no-initramfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-no-initramfs.sh b/tests/test-no-initramfs.sh
index 60e1f9a7..22846c8f 100755
--- a/tests/test-no-initramfs.sh
+++ b/tests/test-no-initramfs.sh
@@ -83,7 +83,7 @@ do
${CMD_PREFIX} ostree admin deploy --os=testos testos:testos/buildmaster/x86_64-runtime
assert_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'init='
- assert_file_has_content sysroot/boot/"$(get_key_from_bootloader_conf sysroot/boot/loader/entries/ostree-2-testos.conf 'devicetree')" "my .dtb file"
+ assert_file_has_content sysroot/boot/"$(get_key_from_bootloader_conf sysroot/boot/loader/entries/ostree-2-testos.conf 'devicetree')" "my \.dtb file"
assert_not_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'initrd'
echo "ok switching from initramfs to no initramfs sysroot with devicetree layout=$layout"