summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-604401-files-are-directories
Commit message (Collapse)AuthorAgeFilesLines
* test if TMPDIR is accessible before usingDavid Kalnischkies2014-10-201-1/+1
| | | | | | | | | | Private temporary directories as created by e.g. libpam-tmpdir are nice, but they are also very effective in preventing our priviledge dropping to work as TMPDIR will be set to a directory only root has access to, so working with it as _apt will fail. We circumvent this by extending our check for a usable TMPDIR setting by checking access rights. Closes: 765951
* add chronic-like testsuccess/testfailure helpersDavid Kalnischkies2013-08-121-5/+5
| | | | | | | | | | For many commands the output isn't stable (like then dpkg is called) but the exitcode is, so this helper enhances the common && msgpass || msgfail by generating automatically a msgtest and showing the output of the command in case of failure instead of discarding it unconditionally, the later being chronic-like behaviour Git-Dch: Ignore
* test/integration/: remove a bunch of "local" statements from the ↵Michael Vogt2011-02-151-1/+1
| | | | shellscript, keep tests running even on failure but log failures
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2011-01-121-0/+66
- add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401)