Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
pine
:
dontbeevil
>
parted-new
> _service:tar_git:0001-fix-sed-tests.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0001-fix-sed-tests.patch of Package parted-new
diff --git a/tests/t0800-json-gpt.sh b/tests/t0800-json-gpt.sh index f6a3fb9..18c4c31 100755 --- a/tests/t0800-json-gpt.sh +++ b/tests/t0800-json-gpt.sh @@ -33,7 +33,7 @@ parted --script "$dev" mkpart "test2" xfs 20% 60% > out 2>&1 || fail=1 parted --script "$dev" set 2 raid on > out 2>&1 || fail=1 # print with json format, replace non-deterministic uuids -parted --script --json "$dev" unit s print free | sed -E 's/"uuid": "[0-9a-f-]{36}"/"uuid": "<uuid>"/' > out 2>&1 || fail=1 +parted --script --json "$dev" unit s print free | sed -r 's/"uuid": "[0-9a-f-]{36}"/"uuid": "<uuid>"/' > out 2>&1 || fail=1 cat <<EOF > exp || fail=1 { diff --git a/tests/t0900-type-gpt.sh b/tests/t0900-type-gpt.sh index 03febba..0113575 100755 --- a/tests/t0900-type-gpt.sh +++ b/tests/t0900-type-gpt.sh @@ -33,7 +33,7 @@ parted --script "$dev" mkpart "''" "linux-swap" 10% 20% > out 2>&1 || fail=1 parted --script "$dev" type 1 "deadfd6d-a4ab-43c4-84e5-0933c84b4f4f" || fail=1 # print with json format, replace non-deterministic uuids -parted --script --json "$dev" unit s print | sed -E 's/"uuid": "[0-9a-f-]{36}"/"uuid": "<uuid>"/' > out 2>&1 || fail=1 +parted --script --json "$dev" unit s print | sed -r 's/"uuid": "[0-9a-f-]{36}"/"uuid": "<uuid>"/' > out 2>&1 || fail=1 cat <<EOF > exp || fail=1 {