aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-checkout.test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-16 14:25:17 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-16 19:03:39 +0300
commit36026ec0a05d74776114ddf5aee096fbda9bc7ee (patch)
tree069ae3f92988641749b3b77865c2b9a12e74e8bb /tests/pkg-checkout.test
parentbe961c92f1306ad16392eb90dbaa579353c9033e (diff)
Redo pkg-status output
Diffstat (limited to 'tests/pkg-checkout.test')
-rw-r--r--tests/pkg-checkout.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pkg-checkout.test b/tests/pkg-checkout.test
index 714ad5b..46f8841 100644
--- a/tests/pkg-checkout.test
+++ b/tests/pkg-checkout.test
@@ -57,7 +57,7 @@ else
$rep_add "$rep/libbar.git#master" && $rep_add "$rep/style-basic.git#master";
$rep_fetch;
- $pkg_status style-basic | sed -n -e 's/available ([^ ]+).+/\1/p' | set v;
+ $pkg_status style-basic | sed -n -e 's/style-basic available \[.+\] ([^ ]+)/\1/p' | set v;
$* "style-basic/$v" 2>>"EOE";
dist style-basic-$v
@@ -90,16 +90,16 @@ else
$rep_fetch;
$pkg_status style-basic | \
- sed -n -e 's/available ([^ ]+) +([^ ]+).+/\1 \2/p' | set vs;
+ sed -n -e 's/style-basic available ([^ ]+) +([^ ]+)/\1 \2/p' | set vs;
echo "$vs" | sed -e 's/([^ ]+).+/\1/' | set v0;
echo "$vs" | sed -e 's/([^ ]+) +([^ ]+)/\2/' | set v1;
$* "style-basic/$v0" 2>!;
- $pkg_status style-basic >~"/unpacked $v0;.+/";
+ $pkg_status style-basic >~"/style-basic unpacked $v0/";
$* --replace "style-basic/$v1" 2>!;
- $pkg_status style-basic >~"/unpacked $v1;.+/";
+ $pkg_status style-basic >~"/style-basic unpacked $v1 .+/";
$pkg_purge style-basic
}