aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-06-24 13:08:58 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-06-26 10:08:54 +0300
commit86700536f5ca500c4a837d03626f672dcfdbb97d (patch)
treeaa54100afb55857db753a81b27488cb088f21b2d
parent06b45a46eff6eae5be6f8c04e7a1ef6292b302bf (diff)
Fix pkg-disfigure diagnostics
-rw-r--r--bpkg/pkg-disfigure.cxx2
-rw-r--r--tests/pkg-configure.testscript4
2 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/pkg-disfigure.cxx b/bpkg/pkg-disfigure.cxx
index 2ddd457..9347bbc 100644
--- a/bpkg/pkg-disfigure.cxx
+++ b/bpkg/pkg-disfigure.cxx
@@ -43,7 +43,7 @@ namespace bpkg
if (!r.empty ())
{
diag_record dr;
- dr << fail << "package " << p->name << " still has dependencies:";
+ dr << fail << "package " << p->name << " still has dependents:";
for (const package_dependent& pd: r)
{
diff --git a/tests/pkg-configure.testscript b/tests/pkg-configure.testscript
index e4cc768..841f0ad 100644
--- a/tests/pkg-configure.testscript
+++ b/tests/pkg-configure.testscript
@@ -295,7 +295,7 @@ if ($posix && "$uid" != '0')
$* libbar 2>'configured libbar/1.0.0';
$pkg_disfigure libfoo 2>>EOE != 0;
- error: package libfoo still has dependencies:
+ error: package libfoo still has dependents:
info: package libbar
EOE
@@ -355,7 +355,7 @@ if ($posix && "$uid" != '0')
$* libbar 2>'configured libbar/1.2.0';
$pkg_disfigure libfoo 2>>EOE != 0;
- error: package libfoo still has dependencies:
+ error: package libfoo still has dependents:
info: package libbar on libfoo >= 1.2.0
EOE