aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-configure.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-configure.test
parentbe961c92f1306ad16392eb90dbaa579353c9033e (diff)
Redo pkg-status output
Diffstat (limited to 'tests/pkg-configure.test')
-rw-r--r--tests/pkg-configure.test28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/pkg-configure.test b/tests/pkg-configure.test
index c82593c..3b455ff 100644
--- a/tests/pkg-configure.test
+++ b/tests/pkg-configure.test
@@ -156,12 +156,12 @@ $* libhello libhello 2>>EOE != 0
$pkg_fetch libhello/1.0.0 && $pkg_unpack libhello;
$* libhello 2>'configured libhello/1.0.0';
- $pkg_status libhello 1>'configured 1.0.0; available sys:?';
+ $pkg_status libhello 1>'libhello configured 1.0.0';
$pkg_disfigure libhello 2>'disfigured libhello/1.0.0';
- $pkg_status libhello 1>'unpacked 1.0.0; available sys:?';
+ $pkg_status libhello 1>'libhello unpacked 1.0.0';
$pkg_purge libhello 2>'purged libhello/1.0.0';
- $pkg_status libhello/1.0.0 1>'available'
+ $pkg_status libhello/1.0.0 1>'libhello available 1.0.0'
}
}
@@ -171,12 +171,12 @@ $* libhello libhello 2>>EOE != 0
$clone_cfg && $pkg_unpack -e $src/libhello-1.0.0;
$* libhello 2>'configured libhello/1.0.0';
- $pkg_status libhello 1>'configured 1.0.0';
+ $pkg_status libhello 1>'libhello configured 1.0.0';
$pkg_disfigure libhello 2>'disfigured libhello/1.0.0';
- $pkg_status libhello 1>'unpacked 1.0.0';
+ $pkg_status libhello 1>'libhello unpacked 1.0.0';
$pkg_purge libhello 2>'purged libhello/1.0.0';
- $pkg_status libhello 1>'unknown';
+ $pkg_status libhello 1>'libhello unknown';
test -d cfg/libhello-1.0.0 == 1
}
@@ -190,10 +190,10 @@ $* libhello libhello 2>>EOE != 0
$pkg_disfigure libhello 2>'disfigured libhello/1.0.0';
- $pkg_status libhello/1.0.0 >'unpacked';
+ $pkg_status libhello/1.0.0 >'libhello unpacked 1.0.0';
$pkg_purge -f libhello 2>'purged libhello/1.0.0';
- $pkg_status libhello/1.0.0 1>'unknown'
+ $pkg_status libhello/1.0.0 1>'libhello unknown 1.0.0'
}
: broken
@@ -213,12 +213,12 @@ if ($cxx.target.class != 'windows')
info: package libhello is now broken; use 'pkg-purge' to remove
EOE
- $pkg_status libhello >'broken 1.0.0';
+ $pkg_status libhello >'libhello broken 1.0.0';
chmod 755 cfg/libhello;
rm -r cfg/libhello;
$pkg_purge -f libhello 2>'purged libhello/1.0.0';
- $pkg_status libhello >'unknown'
+ $pkg_status libhello >'libhello unknown'
}
: configure-failed
@@ -235,7 +235,7 @@ if ($cxx.target.class != 'windows')
%error: unable to create directory cfg/libhello/build/.+%
EOE
- $pkg_status libhello >'unpacked 1.0.0'
+ $pkg_status libhello >'libhello unpacked 1.0.0'
}
: configure-disfigure-failed
@@ -254,12 +254,12 @@ if ($cxx.target.class != 'windows')
info: package libhello is now broken; use 'pkg-purge' to remove
EOE
- $pkg_status libhello >'broken 1.0.0';
+ $pkg_status libhello >'libhello broken 1.0.0';
chmod 755 cfg/libhello cfg/libhello/build;
rm -r cfg/libhello;
$pkg_purge -f libhello 2>'purged libhello/1.0.0';
- $pkg_status libhello >'unknown'
+ $pkg_status libhello >'libhello unknown'
}
}
@@ -278,7 +278,7 @@ if ($cxx.target.class != 'windows')
error: no configured package satisfies dependency on libfoo
EOE
- $pkg_status libbar/1.0.0 1>'unpacked; available';
+ $pkg_status libbar/1.0.0 1>'libbar unpacked 1.0.0';
$pkg_fetch libfoo/1.0.0;
$pkg_unpack libfoo;