]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix regexp in testsuite-74.mount.sh 27042/head
authorFranck Bui <fbui@suse.com>
Tue, 28 Mar 2023 18:41:38 +0000 (20:41 +0200)
committerFranck Bui <fbui@suse.com>
Tue, 28 Mar 2023 18:41:40 +0000 (20:41 +0200)
Several whitespaces can separate "ext4" and "sd-mount-test" strings.

test/units/testsuite-74.mount.sh

index 3d4a48d6009b15d67bca796bcf0ba64ef61a4eb9..bfe472bef7a82d047743b495c4d989b9fcc196b4 100755 (executable)
@@ -122,7 +122,7 @@ systemd-mount --discover "$WORK_DIR/simple.img"
 test -e /run/media/system/simple.img/foo.bar
 # systemd-mount --list and systemd-umount require the loopback block device is initialized by udevd.
 udevadm settle --timeout 30
-assert_in "/dev/loop.* ext4 sd-mount-test" "$(systemd-mount --list --full)"
+assert_in "/dev/loop.* ext4 +sd-mount-test" "$(systemd-mount --list --full)"
 systemd-umount "$WORK_DIR/simple.img"
 
 # --owner + vfat