mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
tool: "\|" used for sed in test-secret-tool.sh is not portable
This commit is contained in:
parent
0be4d690e5
commit
d72c757992
@ -62,7 +62,7 @@ secret = test2
|
|||||||
|
|
||||||
EOF
|
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
|
if test $? -ne 0; then
|
||||||
echo "not ok 4 /secret-tool/search"
|
echo "not ok 4 /secret-tool/search"
|
||||||
exit 1
|
exit 1
|
||||||
@ -90,7 +90,7 @@ secret = test1
|
|||||||
|
|
||||||
EOF
|
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
|
if test $? -ne 0; then
|
||||||
echo "not ok 6 /secret-tool/search-after-clear"
|
echo "not ok 6 /secret-tool/search-after-clear"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user