Commit Graph

2291 Commits

Author SHA1 Message Date
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
b9487e6c0c travis: add /usr/local/bin to PATH and remove useless LD_LIBRARY_PATH. 2014-10-06 14:16:50 +02:00
Juan RP
d761548f8b travis: set LD_LIBRARY_PATH. 2014-10-06 14:10:48 +02:00
Juan RP
47b795d5b4 travis: build deps with make -j16 2014-10-06 14:03:32 +02:00
Juan RP
19d8ff759f travis: libssl-devel -> libssl-dev 2014-10-06 14:00:58 +02:00
Juan RP
021f6185dc travis: enable running tests by default (v1). 2014-10-06 13:59:09 +02:00
Juan RP
cbb003f968 Added a script that sets up env vars and runs the tests in place. 2014-10-06 12:37:04 +02:00
Juan RP
eac1246a90 Added a "check" target to run the testsuite. 2014-10-06 12:28:26 +02:00
Juan RP
d4e720978f README: update instructions to run the tests. 2014-10-06 12:08:12 +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
7fb6320e0b .travis.yml: enable coverity scan integration. 2014-10-06 09:40:48 +02:00
Juan RP
3a77ab0847 lib/download.c: CID 62691 (dereference NULL check) 2014-10-06 08:23:34 +02:00
Juan RP
fae4ef0cd6 lib/pubkey2fp.c: CID 62724 (dereference NULL return value) 2014-10-06 08:17:53 +02:00
Juan RP
a6f128a578 lib/plist.c: CID 62704 (argument cannot be negative) 2014-10-05 13:22:28 +02:00
Juan RP
b96d1c9f4e bin/xbps-rindex/sign.c: CID 62699 (dereference NULL return value) 2014-10-05 13:20:18 +02:00
Juan RP
be256ed77b lib/repo.c: fix CID 62783 correctly 2014-10-05 13:11:59 +02:00
Juan RP
68ef66eb51 lib/fetch/fetch.c: CID 62784 (uninitialized pointer read) 2014-10-05 13:10:05 +02:00
Juan RP
8ccb48e65b lib/initend.c: CID 62697 (dereference before NULL check) 2014-10-05 12:55:07 +02:00
Juan RP
7310322cbf lib/transaction_package_replace.c: CID 62693 (dereference NULL return value) 2014-10-05 12:50:50 +02:00
Juan RP
1edd4e2ecf bin/xbps-create/main.c: CID 62678 (unchecked return value) 2014-10-05 12:33:45 +02:00
Juan RP
f74f079d9d bin/xbps-checkvers/main.c: CID 62673 (unchecked return value) 2014-10-05 12:25:58 +02:00
Juan RP
66292180a3 lib/repo.c: CID 62671 (unchecked return value) 2014-10-05 12:22:18 +02:00
Juan RP
616af5c207 bin/xbps-create/main.c: CID 62713 (dead code) 2014-10-05 12:16:39 +02:00
Juan RP
2212a05f89 lib/download.c: CID 62696 (dead code) 2014-10-05 12:13:34 +02:00
Juan RP
44f5fb107e lib/fetch/fetch.c: CID 62738 (unused value) 2014-10-05 12:01:25 +02:00
Juan RP
89b8c61c47 lib/package_unpack.c: remove unused var (CID 62731) 2014-10-05 11:57:20 +02:00
Juan RP
c3dc804bc0 lib/fetch/http.c: try to fix CID 62683 (resource leak) 2014-10-05 10:32:09 +02:00
Juan RP
25e8fca7b4 lib/fetch/common.c: fix CID 62681 correctly (resource leak). 2014-10-05 10:21:18 +02:00
Juan RP
fe80347a32 bin/xbps-checkvers/main.c: use-after-free (CID 62743) 2014-10-05 10:06:42 +02:00
Juan RP
14da590f41 bin/xbps-checkvers/main.c: fix CID 62667 (2/2) 2014-10-05 09:56:42 +02:00
Juan RP
d006d60497 bin/xbps-rindex/index-clean.c: use-after-free (CID 62752) 2014-10-05 09:47:48 +02:00
Juan RP
15743d20ea bin/xbps-checkvers/main.c: fix CID 62667 correctly. 2014-10-05 09:44:39 +02:00
Juan RP
54b72d8f81 bin/xbps-rindex/index-add.c: fix CID 62685 correctly. 2014-10-05 09:35:42 +02:00
Juan RP
2902a43aab bin/xbps-query/list.c: fix CID 62690 correctly. 2014-10-05 09:31:32 +02:00
Juan RP
3b0917c24a bin/xbps-rindex/index-add.c: use-after-free (CID 62764) 2014-10-05 09:23:03 +02:00
Juan RP
23fccb17f7 lib/transaction_revdeps.c: use-after-free (CID 62765) 2014-10-05 09:18:59 +02:00
Juan RP
3378c4487d lib/package_config_files.c: resource leak (CID 62682) 2014-10-05 09:13:03 +02:00
Juan RP
c1959b3915 lib/fetch/common.c: resource leak (CID 62681) 2014-10-05 09:08:05 +02:00
Juan RP
9d90c75fcc lib/fetch/http.c: buffer not NUL terminated (CID 62666) 2014-10-05 09:04: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
f7441d24cf bin/xbps-create/main.c: fix CID 62686 correctly; all tests pass now. 2014-10-05 08:55:32 +02:00
Juan RP
9f873072b4 bin/xbps-query/list.c: resource leak (CID 62690) 2014-10-05 08:14:17 +02:00
Juan RP
6dcac6a840 lib/transaction_sortdeps.c: resource leak (CID 62688) 2014-10-05 08:12:49 +02:00
Juan RP
2fe9fbe777 bin/xbps-create/main.c: Out-of-bounds write (CID 62686) 2014-10-05 08:09:42 +02:00
Juan RP
ced1ce4b40 bin/xbps-rindex/index-add.c: resource leak (CID 62685) 2014-10-05 08:06:12 +02:00
Juan RP
0af6db77e6 bin/xbps-remove/clean-cache.c: resource leak (CID 62680) 2014-10-05 08:00:31 +02:00
Juan RP
596a37defa bin/xbps-checkvers/main.c: buffer not NUL terminated (CID 62667) 2014-10-05 07:55:27 +02:00
Juan RP
e5c341c6d2 include/xbps.h: increase by one the char arrays to account for NUL bytes. 2014-10-05 07:53:10 +02:00
Juan RP
810c5d8de0 bin/xbps-pkgdb/check_pkg_symlinks.c: buffer not NUL terminated (CID 62665) 2014-10-05 07:43:39 +02:00