Commit Graph

123 Commits

Author SHA1 Message Date
Juan RP
bb3c404d5f tests: update_shlibs: improve two tests and fix descr for another one. 2015-01-17 05:54:55 +01:00
Juan RP
757d1bda68 tests: add test for another kind of versioned soname bump.
This fails currently... working in a solution that works globally.
2015-01-17 03:19:45 +01:00
Juan RP
7b3a500139 libxbps: the provides obj now expects exact pkgver strings.
This reduces extra allocs and simplifies the code, which was just
there to workaround some broken pkgs anyway.
2015-01-10 07:26:23 +01:00
Juan RP
1f6a5c0e47 libxbps: detection of orphaned packages is now 66% faster. 2015-01-10 05:43:35 +01:00
Juan RP
9d582abe0f Fixed a regression with virtual packages declared via xbps.d(5).
Added a new test case to verify its correctness. Somehow virtual packages
declared via xbps.d(5) were not working correctly for dependencies.

This now works as expected with vpkgs declared with and without a version
component.
2015-01-05 16:04:22 +01:00
Juan RP
eee895c6d8 Fixed a regression in vpkgs and improve xbps.d(5) virtualpkg declarations.
See the NEWS file for more information.
2014-12-31 08:51:45 +01:00
Juan RP
89d11e871f xbps-{install,query}: added -i to ignore repos defined in xbps.d.
See the NEWS file for more information.
2014-11-21 10:56:41 +01:00
Juan RP
428a747fad Fix #69 (No way to set globally a custom architecture)
The "architecture" configuration keyword is now available to override
the native machine architecture returned by (uname(2)).

The XBPS_ARCH environment variable still has preference.
2014-11-19 11:36:09 +01:00
Juan RP
b2bc7af66e Fix #68 (xbps_binpkg_arch() asserts if arch contains a dash) 2014-11-19 11:14:37 +01:00
Juan RP
3afb9d709d Get rid of repodata index-files; the archive is now 8x smaller.
See the NEWS file for more information.
2014-11-13 17:09:43 +01:00
Juan RP
805cabc1c4 tests: add another test case to verify pkg files are replaced correctly. 2014-11-13 11:20:06 +01:00
Juan RP
e81a71129c tests: new test case to verify pkg files are replaced correctly. 2014-11-13 09:21:24 +01:00
Juan RP
039a155918 xbps-create(8): fix #64 "incorrect installed-size with hardlinks" 2014-11-12 12:37:35 +01:00
Juan RP
53f13d579e Added the "bestmatching" configuration keyword to enable pkg best matching.
See the NEWS file for more information.
2014-11-07 10:07:51 +01:00
Juan RP
759f7e7fba tests: use abs path to repodir in xbps-rindex. 2014-11-06 11:21:32 +01:00
Juan RP
5183b0a7e7 tests: enable debugging in xbps-rindex (2/2). 2014-11-06 11:02:14 +01:00
Juan RP
4086c0a4c6 tests: enable debugging in xbps-rindex to see what's going on. 2014-11-06 10:56:15 +01:00
Juan RP
5b522109f7 Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.
See the NEWS file for more information.
2014-11-06 09:58:04 +01:00
Juan RP
595136704e Get rid of system virtualpkg.d support (<prefix>/share/xbps/virtualpkg.d).
Binary packages do not need to provide those virtualpkg configuration files
anymore; all vpkg info is now collected from pkgdb.
2014-11-04 11:17:27 +01:00
Juan RP
5fe3594cb5 Make sure that modified symlinks are preserved.
When removing a package, symlinks owned by this package that have been
modified should be preserved, unless the force flag is set via xbps-remove(8).
2014-10-25 06:43:30 +02:00
Juan RP
627a5afaaf Make sure that automatic/manual installation modes are set as expected. 2014-10-20 07:59:06 +02:00
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