summaryrefslogtreecommitdiff
path: root/tests/sources/tar.py
Commit message (Collapse)AuthorAgeFilesLines
* tests/sources: Use new error checking tools for source testsTristan Van Berkom2018-01-011-28/+26
| | | | | | Also added a test case for the `patch` plugin which checks for graceful failure when the specified patch file is not a regular file (but a block device or a named pipe instead).
* Adapting test cases to expect logs in stderrTristan Van Berkom2017-12-131-1/+1
| | | | And also adapted them to remove any occurrences of HAVE_ROOT.
* Remove unused imports in test filesGökçen Nurlu2017-12-071-1/+1
|
* Add a test for tar lzipValentin David2017-11-301-0/+46
|
* tests/sources/tar.py: Test for tarballs containing linksTristan Van Berkom2017-11-171-0/+36
| | | | This reproduces issue #155
* tests/sources/tar.py: Converted tar test to use the CLI and enhancedTristan Van Berkom2017-11-031-98/+122
| | | | | | Now test to also ensure that base-dir expressions always behave the same way regardless of whether the tarball was created with a leading '.' or not.
* tar.py source test case: Stop using tar's private _sha256sum() methodTristan Van Berkom2017-09-121-4/+5
| | | | | That was removed anyway, now use utils.sha256sum() to calculate the expected tar ref.
* Added/fixed tar source tests.Tristan Van Berkom2017-05-141-2/+24
| | | | | | | | | Fixed original staging test to expect the content of the first encountered subdirectory to be extracted/staged. Added additional test to override the base-dir configuration with an empty string and instead extract the root of the tarball directly.
* Add tests for the tar sourceJonathan Maw2017-04-131-0/+140