diff --git a/tests/xbps/libxbps/find_pkg_orphans/main.c b/tests/xbps/libxbps/find_pkg_orphans/main.c index 2fa15ac7..8ec47eec 100644 --- a/tests/xbps/libxbps/find_pkg_orphans/main.c +++ b/tests/xbps/libxbps/find_pkg_orphans/main.c @@ -43,6 +43,7 @@ static const char expected_output[] = "xbps-triggers-1.0_1\n"; static const char expected_output_all[] = + "orphan2-0_1\n" "unexistent-pkg-0_1\n" "orphan1-0_1\n" "orphan0-0_1\n"; diff --git a/tests/xbps/libxbps/find_pkg_orphans/pkgdb-0.38.plist b/tests/xbps/libxbps/find_pkg_orphans/pkgdb-0.38.plist index a9064cb5..fc4deed9 100644 --- a/tests/xbps/libxbps/find_pkg_orphans/pkgdb-0.38.plist +++ b/tests/xbps/libxbps/find_pkg_orphans/pkgdb-0.38.plist @@ -198,6 +198,23 @@ pkgver orphan1-0_1 + run_depends + + orphan0>=0_1 + + state + installed + + orphan2 + + automatic-install + + pkgver + orphan2-0_1 + run_depends + + orphan0>=0_1 + state installed