Commit Graph

36 Commits

Author SHA1 Message Date
afaac46997 tests/test00_specsyntax.in: update curl user agent to fix 403 error from sourceforce 2024-11-05 11:46:40 +01:00
94a21a8788 tests: test00_specsyntax: add debug info for curl command line used 2024-10-12 20:47:00 +02:00
8264d45caf tests/test00_specsyntax: provide a fake user agent instead of culr default to prevent some sites from blocking 2022-01-06 14:25:46 +01:00
3474e9ee0e test00_specsyntax.in: add curl check for URL; automatic replace if redirect, error if url not orking (response code != 200) 2021-05-16 12:20:11 +02:00
Davide Madrisan
c55acfc48b Release 1.16.5
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-30 21:30:11 +01:00
Davide Madrisan
5a4e8f799a tests: fix an obsolete and now unsupported syntax for 'find -perm'
tests/test01_pkgquality
tests/test02_pkgsecurity

Fix an obsolete and now unsupported syntax of the external tool 'find'
(-perm +<mode>) that made some quality and security tests fail.
The supported one is now: -perm /<mode>

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-09-16 22:03:37 +02:00
Davide Madrisan
f1ba975689 test framework: remove the duplicate check for poor infopages installation
implemented in the module 'test00_specsyntax' and improve the test coded
   in 'test01_pkgquality' and its related help message.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:47:18 +02:00
Davide Madrisan
b21d192d8f test01_pkgquality:
Check for wrong file attributes in bin and lib directories.

Do ignore files with name matching '*.so.owner'.
These are text files needed by OCaml, not libraries.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:39:18 +02:00
Davide Madrisan
b4f20819f9 t01_pkgquality: modify regexp to catch OCaml library files
when testing for bad BuildArch tags

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:37:44 +02:00
Davide Madrisan
868c8b882a libs,tests: add a debug message saying that the file is being loaded
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 17:54:46 +01:00
Davide Madrisan
6b8099f31d libtranslate.lib: new library
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:02:42 +01:00
Davide Madrisan
288d828aaa translation framework: xgettext is buggy: use 'bash --dump-po-strings' instead and rework all the code
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 15:54:34 +01:00
Davide Madrisan
5a00359a29 Point to the translation file autospec-all in all modules and libraries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-23 23:45:02 +01:00
Davide Madrisan
962a8d7f82 update translation framework
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-22 22:40:21 +01:00
Davide Madrisan
5774796d00 Makefile.env, Makefile's: add some variables to Makefiles.env and use them in the make targets 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 23:30:22 +01:00
Davide Madrisan
f525086f8b Makefile: new target 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 22:45:31 +01:00
Davide Madrisan
705396eab1 tests: fix the color tags used in the final messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 23:41:11 +01:00
Davide Madrisan
4c24d74501 test01_pkgquality: Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at least with bash 3.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-11 21:20:34 +02:00
Davide Madrisan
82b35315ec test01_pkgquality: when a file is detected as problematic do add its mime type
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-08-23 19:45:17 +02:00
Davide Madrisan
5bbd6b6ee3 pck-update, test/*: update/add the code to check for the required external tools
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 22:30:07 +02:00
Davide Madrisan
eb43019406 test00_specsyntax: new module and translation files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 17:10:03 +02:00
Davide Madrisan
f93b85c9f5 unify the output of all the modules test
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 16:42:59 +02:00
Davide Madrisan
7a68b819d4 pck-update, test00_specsyntax: move code from pck-update (action 4) to a new test file test00_specsyntax
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 23:10:12 +02:00
Davide Madrisan
a50a7d17d7 libtest.lib: new library for test framework
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 14:16:01 +02:00
Davide Madrisan
af1fa53444 pck-update, test01_*,: rework output of all tests
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 00:03:42 +02:00
Davide Madrisan
d7edada922 tests/test01_pkgquality: fix minor copy&paste error
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-08 23:52:00 +02:00
Davide Madrisan
1f2bd2cf03 tests/test01_pkgquality: check for libraries with undefined symbols after relocation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-08 22:50:53 +02:00
Davide Madrisan
e77d5e88a3 test01_pkgquality: avoid use of pipes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-18 00:09:22 +01:00
Davide Madrisan
951769b5f4 test01_pkgquality: another fix to avoid false positives
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-16 21:59:51 +01:00
Davide Madrisan
442af8b3b2 test01_pkgquality: fix find command to avoid false positives
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 17:30:49 +01:00
Davide Madrisan
cfbc63921d test: rework coloring schema and make output a bit more compact
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 14:43:29 +01:00
Davide Madrisan
51ba76940c new security test: check for setgid directories
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 14:00:08 +01:00
Davide Madrisan
e2514c2fac tests: display the number of issues detected
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-13 00:17:57 +01:00
Davide Madrisan
701cb887d6 tests: be less verbose
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-08 23:37:58 +01:00
Davide Madrisan
3daac96b68 plugins,tools,tests,libs: use LC_ALL instead of LANG
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-02 21:16:48 +01:00
Silvan Calarco
aa237198c2 Initial commit 2011-04-26 21:39:44 +02:00