tests: cover more cases find_pkg_orphans_test:find_all_orphans_test
This commit is contained in:
parent
b60054267b
commit
f9233a862c
@ -43,6 +43,7 @@ static const char expected_output[] =
|
|||||||
"xbps-triggers-1.0_1\n";
|
"xbps-triggers-1.0_1\n";
|
||||||
|
|
||||||
static const char expected_output_all[] =
|
static const char expected_output_all[] =
|
||||||
|
"orphan2-0_1\n"
|
||||||
"unexistent-pkg-0_1\n"
|
"unexistent-pkg-0_1\n"
|
||||||
"orphan1-0_1\n"
|
"orphan1-0_1\n"
|
||||||
"orphan0-0_1\n";
|
"orphan0-0_1\n";
|
||||||
|
@ -198,6 +198,23 @@
|
|||||||
<true/>
|
<true/>
|
||||||
<key>pkgver</key>
|
<key>pkgver</key>
|
||||||
<string>orphan1-0_1</string>
|
<string>orphan1-0_1</string>
|
||||||
|
<key>run_depends</key>
|
||||||
|
<array>
|
||||||
|
<string>orphan0>=0_1</string>
|
||||||
|
</array>
|
||||||
|
<key>state</key>
|
||||||
|
<string>installed</string>
|
||||||
|
</dict>
|
||||||
|
<key>orphan2</key>
|
||||||
|
<dict>
|
||||||
|
<key>automatic-install</key>
|
||||||
|
<true/>
|
||||||
|
<key>pkgver</key>
|
||||||
|
<string>orphan2-0_1</string>
|
||||||
|
<key>run_depends</key>
|
||||||
|
<array>
|
||||||
|
<string>orphan0>=0_1</string>
|
||||||
|
</array>
|
||||||
<key>state</key>
|
<key>state</key>
|
||||||
<string>installed</string>
|
<string>installed</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
Loading…
Reference in New Issue
Block a user