]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: dont use anchor char '$' to match a part of a string
authorFranck Bui <fbui@suse.com>
Thu, 27 Apr 2023 07:04:00 +0000 (09:04 +0200)
committerMike Yuan <me@yhndnzj.com>
Thu, 27 Apr 2023 14:42:51 +0000 (22:42 +0800)
commitfd34e27fb9903c2e6de85d4cd5e0ca88ffc8f72f
tree15fb34ea99212865541f6997adf534a06178722f
parent82060b62c98f262558d9b5d0b98f0c96cd675b6a
test: dont use anchor char '$' to match a part of a string

When anchoring the pattern using '$' regular expression operator it forces '=~'
operator to match the entire string.
test/units/testsuite-73.sh