- 02 Jan, 2022 1 commit
-
-
Allan McRae authored
./build-aux/update-copyright 2021 2022 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 20 Nov, 2021 1 commit
-
-
Morgan Adamiec authored
change pacman-dev@archlinux.org to pacmandev@lists.archlinux.org Most of this is copyright notices but this also fixes FS#72129 by updating the address in docs/index.asciidoc.
-
- 01 Mar, 2021 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 21 Jan, 2021 1 commit
-
-
The existing CACHE_EXISTS rule takes a package, which is not suitable for -U tests that need to be able to check for specific files. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 10 Feb, 2020 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 23 Oct, 2019 1 commit
-
-
Allan McRae authored
make update-copyright OLD=2018 NEW=2019 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 13 May, 2018 1 commit
-
-
Many of these are pointless (e.g. there is no need to explicitly turn on spellchecking and language dictionaries for the manpages by default). The only useful modelines are the ones enforcing the project coding standards for indentation style (and "maybe" filetype/syntax, but everything except the asciidoc manpages and makepkg.conf is already autodetected), and indent style can be applied more easily with .editorconfig Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 14 Mar, 2018 1 commit
-
-
Allan McRae authored
make update-copyright OLD=2017 NEW=201 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 04 Jan, 2017 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 04 Jan, 2016 1 commit
-
-
Allan McRae authored
make update-copyright OLD=2015 NEW=2016 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 28 Nov, 2015 1 commit
-
-
Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 01 Feb, 2015 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 21 Jan, 2015 1 commit
-
-
Leave user files in place and save new config files with a .pacnew extension. This reduces the complexity of file extraction and respects the principle that pacman shouldn't modify files it didn't create. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com>
-
- 13 Oct, 2014 1 commit
-
-
This prevents an exception in the event backup entries are not in the correct format and brings the test in line with alpm's backup parsing which splits on the last tab rather than the first. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 04 Aug, 2014 1 commit
-
-
Only a few of our tests need file snapshots at all and most of them only need a few files. Taking snapshots of the entire test environment for every single test is a massive waste. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 04 Feb, 2014 1 commit
-
-
Succeeds if the specified path is a file and is empty. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 06 Jan, 2014 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 21 Dec, 2013 1 commit
-
-
Use the 'configure'd PYTHON to run pactest instead of the one hard-coded (with '#!') in pactest.py. Also remove useless '#!' from non-main .py files. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 14 Oct, 2013 1 commit
-
-
The truncation helped back when the test output appeared when run via make. But now "make check" logs that output, and it makes little sense to log the truncated rules. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 21 Aug, 2013 1 commit
-
-
Each test produces a single TAP result with the rules run in a sub-test. This reduces output when run under automake and makes it possible to continue setting expectfailure at the test level rather than per-rule. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 28 Jan, 2013 1 commit
-
-
Allan McRae authored
pacman can be configured to use a different shell than /bin/sh for scriplets. Pass the cnfigured value to the pactest suite and make the necessary "copy" of the shell in the test root. Also update all copyright years in the pactest suite. Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 16 Mar, 2012 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 08 Mar, 2012 1 commit
-
-
Allan McRae authored
Python PEP-394 states that all python code should point at the python2 or python3 symlinks at maintain cross-distro compatibility. Note that this does not matter when calling these scripts using "make check" as they are explictly called using the detected python version. As this only affects manually calling these scripts, I have not had configure/make replace the shebangs. Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 17 Aug, 2011 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 02 Aug, 2011 1 commit
-
-
Dan McGee authored
We don't write with extra or unknown whitespace, so there is little reason for us to trim it when reading either. This also fixes the hopefully never encountered "paths that start or end with spaces" issue, for which two pactests have been added. The tests also contain other evil characters that we have encountered before and handle just fine, but it doesn't hurt to ensure we don't break such support in the future. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 18 Jul, 2011 1 commit
-
-
Dan McGee authored
This addresses FS#25141. We shouldn't remove every empty directory we come across during the removal process unless it is truly not known to any other package. This will prevent removal of essential directories such as '/var/lock/'. This is accomplished by first checking the empty/non-empty status of a directory, which was previously done implicitly by calling rmdir() and ignoring errors. We do this to avoid the next (new) check in most cases, which is to look at all local packages to see if the to-be-removed directory is present in another packages' filelist. If we do not find it anywhere, then we remove it, else we keep the file around. The pactest has been updated to test more cases, as well as finding a flaw in the original expected to fail case- we need separate DIR and FILE based EXIST rules. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 24 Jun, 2011 1 commit
-
-
Dan McGee authored
Remove empty docstrings, small and easy pylint fixes, etc. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 16 May, 2011 1 commit
-
-
Dan McGee authored
Don't call os.stat() when we should be using os.lstat(); this allows us to actually test dead symlinks that don't have a corresponding file. Add a new LINK_EXIST rule that complements FILE_EXIST for a similar purpose. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 31 Jan, 2011 1 commit
-
-
Dan McGee authored
This will allow some tests to be added for cache cleaning. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 29 Jan, 2011 1 commit
-
-
Dan McGee authored
We were piecemeal passing fields from the test object in and it was getting out of hand, and future work would have added yet another argument. Instead, just pass the entire test object and entrust the rule to get what it needs. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 22 Jan, 2011 4 commits
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Remove all logic dealing with PKG_MODIFIED as this rule no longer exists. This removes a bunch of unnecessary stat and checksum logic that most of the time we were never even using. Also update the file modified checks to mark every file created using mkfile() with an older time so any modified checks will just work without hacks. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Instead, go the same route we have always taken with version-release in libalpm and treat it all as one piece of information. Makepkg is the only script that knows about epoch as a distinct value; from there on out we will parse out the components as necessary. This makes the code a lot simpler as far as epoch handling goes. The downside here is that we are tossing some compatibility to the wind; packages using force will have to be rebuilt with an incremented epoch to keep their special status. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 10 Jan, 2011 1 commit
-
-
Dan McGee authored
We were missing this in a few places; also add the ability to check the outcome via a new rule type. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 21 Dec, 2010 1 commit
-
-
Dan McGee authored
And modify the code to not print the full rule string if it is more than 40 characters long; truncate it instead. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 02 Jun, 2010 1 commit
-
-
Allan McRae authored
Move the test suite to test/pacman in order to make a logical location for a future makepkg test suite. Signed-off-by:
Allan McRae <allan@archlinux.org> Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 20 Jul, 2009 1 commit
-
-
Xavier Chantry authored
check that the file exists first, otherwise pactest just breaks. Signed-off-by:
Xavier Chantry <shiningxc@gmail.com> Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 11 Dec, 2007 2 commits
-
-
Aaron Griffin authored
Check for existence of the logfile first, and output an error if not found Signed-off-by:
Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Update the GPL boilerplate to direct people to the GNU website for a copy of the license, as well as bump all of Judd's copyrights to 2007. Signed-off-by:
Dan McGee <dan@archlinux.org>
-