Commit Graph

102 Commits

Author SHA1 Message Date
Juan RP
231582e671 libxbps: make sure to not add dups in transaction for remove. 2014-10-19 11:22:17 +02:00
Juan RP
fb868454b2 libxbps: make sure to not add dups in transaction for install/update. 2014-10-19 11:00:40 +02:00
Juan RP
ff189fd210 Replaced redundant dependency sorting code with a simpler implementation.
This fixes the issue found by "xbps-src bootstrap" when a package
without "provides" was declared as a virtual package.
2014-10-18 12:35:47 +02:00
Juan RP
5b5a948f15 tests: xbps-rindex/add: set rootdir to not use host repo.d 2014-10-17 10:14:58 +02:00
Juan RP
5c8c7b1172 tests: xbps-rindex/add: rework some tests to use xbps-query -s rather than -Ro. 2014-10-17 10:08:59 +02:00
Juan RP
d7633e88e0 Fix #62 (Dup replaced pkgs in transaction) 2014-10-17 09:52:32 +02:00
Juan RP
1a3982bb57 tests: libxbps/shell: fix tests that use ln(1) -r on travis-ci. 2014-10-06 14:24:42 +02:00
Juan RP
1546e44e70 tests: libxbps/issue20: do not use ln(1) -r; fails with travis-ci. 2014-10-06 14:20:52 +02:00
Juan RP
01781b3b7e Added support to run tests in place.
- ./configure --enable-tests && make
	- kyua test -k tests/xbps/Kyuafile
2014-10-06 11:59:16 +02:00
Juan RP
691cd26482 tests: use xbps-install -d in two test cases. 2014-10-05 08:55:57 +02:00
Juan RP
43b450d6fb tests: new test to verify another shlibs revdep case (currently it fails). 2014-09-29 14:56:32 +02:00
Enno Boland
0c27c66d2a tests: correct test description. 2014-09-29 08:57:12 +02:00
Enno Boland
06cc3600f4 tests: remove useless LD_PRELOAD= 2014-09-29 08:52:35 +02:00
Enno Boland
f50a5df3c2 tests: add test case for reverts which simulates a full workflow. 2014-09-28 22:22:56 +02:00
Juan RP
2a89552375 tests: new test to verify pkg files removal with files that only have read bit set.
This currently fails but will be fixed in an upcoming change.
2014-09-28 13:28:56 +02:00
Juan RP
2dc92ab966 tests: enable xbps-checkvers tests added by @Gottox. 2014-09-27 22:57:44 +02:00
Enno Boland
4fda229efb xbps-checkvers: add tests. 2014-09-27 20:51:21 +02:00
Enno Boland
4467518329 bin/xbps-rindex: add unit tests to test rindex behavior for adding packages with reverts. 2014-09-23 19:17:31 +02:00
Enno Boland
511fdc4215 xbps_pkg_reverts: add unit tests to test this functionality. 2014-09-23 18:26:03 +02:00
Juan RP
68bb09bc58 tests: two new tests to verify pkg install/update with no files. 2014-09-14 18:03:29 +02:00
Juan RP
c36c641350 tests/libxbps/replace: another test case for replaces and vpkgs. 2014-09-14 12:49:38 +02:00
Juan RP
842a91149d tests/libxbps/replace: add more debugging to see what's going on. 2014-09-13 12:21:24 +02:00
Juan RP
60e9bbac3d tests/libxbps/replace: check that pkgs were configured too.
These two tests currently fail.
2014-09-13 12:11:24 +02:00
Juan RP
39aca1bbc9 Implement shlib checks for all pkg revdeps in the transaction.
Added three new test cases to verify its correctness.
2014-09-12 11:49:34 +02:00
Juan RP
01dbb968dd Welcome pkgdb-0.38. 2014-09-11 00:12:12 +02:00
Juan RP
d0a4cc5b9d tests: install_with_vpkg_deps: fix order. 2014-09-04 10:11:46 +02:00
Juan RP
bc92b387cb Really fix #53 this time: with or without -n. 2014-08-23 16:25:51 +02:00
Juan RP
4c14785480 Fix #53 (xbps-install with multiple arguments shouldn't fail if one is already installed). 2014-08-23 08:02:40 +02:00
Juan RP
7cef93ce07 Added support to replace vpkgs when the real pkgname matches any installed vpkg. 2014-08-22 12:44:18 +02:00
Juan RP
f8d8f91a08 Implement support to "preserve" existent on-disk files.
See NEWS for more information. Fix #51
2014-08-01 15:09:51 +02:00
Juan RP
cc6f9901f1 Fix #50 (Existent files on disk might be overwritten by packages with conf_files). 2014-07-30 16:18:57 +02:00
Juan RP
f5fe2c35c7 tests: new test for vpkgs to reproduce awk/base-system-busybox fallout.
This test currently fails and must be fixed.
2014-07-12 09:40:36 +02:00
Juan RP
1857672e14 tests: add another test case for GH issue #45.
The test passes completely and cannot be make to segfault in any provided case.

I'll continue investigating...
2014-07-08 16:34:47 +02:00
Juan RP
21f32a75c5 Fixed a new issue with vpkgs replacing the same vpkg they are providing.
Added a new testcase to verify its correctness.
2014-07-01 15:35:55 +02:00
Juan RP
0953980d25 tests/xbps/xbps-rindex: explicitly set rootdir to unbreak tests. 2014-05-31 06:31:01 +02:00
Enno Boland
e903731718 adding test for globbing nonexistent files. 2014-05-29 10:00:20 +02:00
Juan RP
61a1d33995 xbps-install(8): implemented single pkg updates without -u, --update.
The -u, --update is now only necessary to perform full system updates.

Close #35 (https://github.com/voidlinux/xbps/issues/35)
2014-05-27 11:33:45 +02:00
Juan RP
e1e5310428 tests: installmode: use -d to inspect stderr. 2014-05-27 11:15:40 +02:00
Juan RP
1c26b2ef95 tests: new tests to verify pkg install order with real and virtual pkgs. 2014-05-22 13:44:35 +02:00
Juan RP
e2b0de8859 tests/xbps/libxbps/shell/remove_test.sh: use -d arg to see what's going on. 2014-05-22 10:49:17 +02:00
Juan RP
db0b69b397 tests/xbps/libxbps/config: fix clang warning: strncat() needs an additional byte for NUL. 2014-05-16 09:51:58 +02:00
Juan RP
869466278b Fixed a new issue with virtual packages, as reported by Gottox. 2014-05-15 22:07:10 +02:00
Juan RP
7a4e6862cd tests: recurse into the new config tests. 2014-05-13 12:14:34 +02:00
Enno Boland
f369c24e90 tests: use right name in copyright. 2014-05-13 11:47:57 +02:00
Enno Boland
93e6aada54 tests: remove unneccassary test script 2014-05-13 11:46:47 +02:00
Enno Boland
f4c0ecdcbf using config_ prefix instead of xbps_conf_ for tests 2014-05-13 11:41:40 +02:00
Enno Boland
152ec0354f libxbps: file including in xbps.conf supports relative paths. 2014-05-13 11:37:09 +02:00
Juan RP
6c8a073fb2 tests: new test for xbps-query(8) -Rf when binpkg is not available. 2014-05-06 11:16:00 +02:00
Juan RP
c992db2bc0 New test cases to detect pkgs with dependencies on itself. 2014-04-20 18:19:12 +02:00
Juan RP
bb491e2667 libxbps: detect and ignore incorrect deps of a pkg if those are virtual pkgs. 2014-04-20 16:54:50 +02:00