Merge branch 'sed-portable' into 'master'

tool: "\|" used for sed in test-secret-tool.sh is not portable

Closes #98

See merge request GNOME/libsecret!150
This commit is contained in:
Dhanuka Warusadura 2024-11-24 13:29:28 +00:00
commit f62f2b3ae8

View File

@ -62,7 +62,7 @@ secret = test2
EOF
${SECRET_TOOL} search foo bar | sed '/^created\|^modified/d' > search.out
${SECRET_TOOL} search foo bar | sed -E '/^created|^modified/d' > search.out
if test $? -ne 0; then
echo "not ok 4 /secret-tool/search"
exit 1
@ -90,7 +90,7 @@ secret = test1
EOF
${SECRET_TOOL} search foo bar | sed '/^created\|^modified/d' > search-after-clear.out
${SECRET_TOOL} search foo bar | sed -E '/^created|^modified/d' > search-after-clear.out
if test $? -ne 0; then
echo "not ok 6 /secret-tool/search-after-clear"
exit 1