Commit Graph

154 Commits

Author SHA1 Message Date
Bastian Kleineidam fa9ea99dc6 Need 7z to test created cpio archives. 2012-05-23 05:46:09 +02:00
Bastian Kleineidam f547c56d1b Replace .a archive for testing with a more compatible one. 2012-05-23 05:41:30 +02:00
Bastian Kleineidam 3f22dae399 Fix codec detection. 2012-05-23 05:19:14 +02:00
Bastian Kleineidam 36c2be760d Add support for flac files. 2012-05-17 21:22:56 +02:00
Bastian Kleineidam 52762df5c6 Add flac file detection. 2012-05-17 14:59:33 +02:00
Bastian Kleineidam de18ff9ca3 Support SHN (.shn) files with shorten. 2012-05-17 14:28:12 +02:00
Bastian Kleineidam 448eb7c720 Add mime type for .shn files. 2012-05-17 14:11:36 +02:00
Bastian Kleineidam aab8e96520 Rename WAV test file. 2012-05-17 11:32:27 +02:00
Bastian Kleineidam 825f959d78 Fix test for monkeys audio compressor. 2012-05-17 11:31:00 +02:00
Bastian Kleineidam ac963df850 Fix keyword argument in archive tests. 2012-05-17 11:28:05 +02:00
Bastian Kleineidam 2ba54ee73a Allow specification of source file for archive tests. 2012-05-17 11:27:03 +02:00
Bastian Kleineidam 1cb49aa296 Add support for APE format. 2012-05-17 11:01:06 +02:00
Bastian Kleineidam 66001fde36 Add boilerplate support for Monkey's Audio Compressors APE format. 2012-05-17 10:43:21 +02:00
Bastian Kleineidam b3b48adf39 Code cleanup: remove CompressionPrograms map. 2012-05-17 09:08:28 +02:00
Bastian Kleineidam d987325ae5 Updated copyright. 2012-05-12 13:38:52 +02:00
Bastian Kleineidam ef8c0e595c Python module programs now have a py_ suffix. 2012-05-12 13:36:59 +02:00
Bastian Kleineidam d93beae6ac Add tests for archives needing file(1) recognition. 2012-05-12 12:44:07 +02:00
Bastian Kleineidam 79a376ce4e Rename encoding to compression in the context of archive handling. Makes more sense. 2012-05-12 09:31:27 +02:00
Bastian Kleineidam e7f8e00bc5 Support TAR file handling with the Python tarfile module. 2012-05-12 09:00:55 +02:00
Bastian Kleineidam ac76a91d2d Support creation of ZIP files with Python modules. 2012-05-11 23:30:46 +02:00
Bastian Kleineidam 8304658d4e Simulate the echo program with print statement. 2012-05-11 23:09:52 +02:00
Bastian Kleineidam 547bd75fd6 Support extraction of GZIP files with the Python gzip module. 2012-05-11 22:56:44 +02:00
Bastian Kleineidam 45a5f7e841 Support extraction of BZIP2 files with the Python bz2 module. 2012-05-11 22:08:00 +02:00
Bastian Kleineidam 42ad896171 Remove unused import. 2012-05-11 21:15:59 +02:00
Bastian Kleineidam 26727ee20a Also compare filenames. 2012-05-11 21:04:02 +02:00
Bastian Kleineidam 8d8da1fecf Add tests for smae file check. 2012-05-11 20:16:24 +02:00
Bastian Kleineidam 6917ab17bb Support plzip. 2012-05-11 07:14:49 +02:00
Bastian Kleineidam 1cb76a9633 Support plbzip2. 2012-05-11 07:08:50 +02:00
Bastian Kleineidam 47c43a57b1 Updated copyright. 2012-04-08 18:54:37 +02:00
Bastian Kleineidam 021626aa82 Added support for the pigz program handling GZIP archives. 2012-04-06 12:59:52 +02:00
Bastian Kleineidam 4d0509e893 Ignore errors getting the current working directory. 2012-04-06 12:58:15 +02:00
Bastian Kleineidam 7485bf8044 Cleanup 2011-10-19 09:27:45 +02:00
Bastian Kleineidam ad9011e57e Remove 2011-10-19 09:10:39 +02:00
Bastian Kleineidam ba6d138615 Xz supports all archive commands. 2011-10-19 09:10:17 +02:00
Bastian Kleineidam 14641f8ea3 Updated copyright. 2011-01-25 06:57:30 -06:00
Bastian Kleineidam e48b95f9f1 Support DMS (.dms) files. 2011-01-24 14:28:29 -06:00
Bastian Kleineidam 80916bc335 Added support for the orange CAB extracting program. 2011-01-24 12:24:34 -06:00
Bastian Kleineidam 55f3716eb6 Fall back to file extension detection for MIME type when the uncompressor file(1) uses for compressed TAR archives is not installed. 2011-01-23 09:30:11 -06:00
Bastian Kleineidam 748a1dcea6 Added test for ZIP file creation with 7z and 7za. 2011-01-17 13:44:17 -06:00
Bastian Kleineidam d39e1c6750 Support ZIP (.zip) file creation with 7z. 2011-01-17 13:38:53 -06:00
Bastian Kleineidam 296283bf9e Added support for pdlzip. 2011-01-17 13:27:54 -06:00
Bastian Kleineidam 85f592b8ea Added support for clzip. 2011-01-17 13:11:02 -06:00
Bastian Kleineidam d93c0d5b7f Enable lrzip test after upstream fix. 2010-12-16 08:12:15 +01:00
Bastian Kleineidam a4209f95ba Add alternative ZIP mime type in tests. 2010-11-20 14:17:39 +01:00
Bastian Kleineidam b6ef1a7638 Deactivate broken test 2010-11-20 13:56:34 +01:00
Bastian Kleineidam 06c9917764 Fix function name typo. 2010-10-04 19:28:07 +02:00
Bastian Kleineidam d91ebebc0a Comment out test failures for now. 2010-10-04 19:24:15 +02:00
Bastian Kleineidam 09c59ab3f0 Added support for the standalone 7za archiver in addition to 7z. 2010-10-04 19:21:01 +02:00
Bastian Kleineidam b9c208b402 Add space into 7z test filename. 2010-04-05 02:56:32 +02:00
Bastian Kleineidam 5223f93944 Renamed test file to be able to clone under Windows. 2010-04-05 02:27:42 +02:00
Bastian Kleineidam 26ab2a3acb Rename test directory 2010-04-05 02:22:25 +02:00
Bastian Kleineidam 6e2433aa00 Test shell quoting. 2010-04-04 20:28:37 +02:00
Bastian Kleineidam 554d273b08 Added support for ZOO (.zoo) archives. 2010-03-21 15:39:02 +01:00
Bastian Kleineidam 29598b32ea Added MIME test for RZIP (.rz) files. 2010-03-21 09:51:37 +01:00
Bastian Kleineidam 82708b74fa Added support for RZIP (.rz) archives. 2010-03-20 11:34:40 +01:00
Bastian Kleineidam 5d66704369 Added new command "patool repack". 2010-03-11 18:33:58 +01:00
Bastian Kleineidam 7a8b5ada3e Added test for the diff command. 2010-03-11 18:32:55 +01:00
Bastian Kleineidam 5c5a5c36fe Test also the result of the test() function. 2010-03-11 11:13:51 +01:00
Bastian Kleineidam c7570293db Fix baker command parsing 2010-03-10 20:48:47 +01:00
Bastian Kleineidam 6f5427fb50 Use correct program name when checking star(1) program. 2010-03-10 20:23:19 +01:00
Bastian Kleineidam aafeea7d94 Test with relative pathnames 2010-03-10 20:22:59 +01:00
Bastian Kleineidam 090a95fdba Add missing imports 2010-03-08 22:07:13 +01:00
Bastian Kleineidam cb10d09e6f Allow mimedb tests to check with a list of MIME types, not only one. 2010-03-08 22:05:57 +01:00
Bastian Kleineidam 9a420df3a4 Run AR format tests only on POSIX systems. 2010-03-08 22:04:27 +01:00
Bastian Kleineidam 37fa891535 Added support for LRZIP (.lrz) files. 2010-03-08 19:58:39 +01:00
Bastian Kleineidam 2f5addad3f Support the nomarch tool for handling ARC files. 2010-03-08 18:36:18 +01:00
Bastian Kleineidam 4f12f39834 Added support for ARC (.arc) archives. 2010-03-08 18:28:11 +01:00
Bastian Kleineidam 83f355634b Change back to old working directory after changing it for tests. 2010-03-08 18:05:59 +01:00
Bastian Kleineidam acbf544d04 Added support for ALZIP (.alz) archives. 2010-03-06 21:35:03 +01:00
Bastian Kleineidam f6720231dd Added support for LZH (.lha, .lzh) archives. 2010-03-06 19:24:14 +01:00
Bastian Kleineidam 1e733a2158 Make .taz file gzip compressed, not compressed by 'compress'. 2010-03-06 19:22:02 +01:00
Bastian Kleineidam 22dd316db9 Assert that created archive exists in archive test. 2010-03-06 19:21:20 +01:00
Bastian Kleineidam 960d15cd76 Refactor mime detection functions and add better tests. 2010-03-06 19:20:50 +01:00
Bastian Kleineidam 6cba779475 Added support for AR (.a) archives. 2010-03-06 16:52:13 +01:00
Bastian Kleineidam 9a04371f07 Added support for ACE (.ace) archives. 2010-03-06 15:47:00 +01:00
Bastian Kleineidam aff6657980 Added --verbose option to create command 2010-03-06 14:01:02 +01:00
Bastian Kleineidam 6decebe6f7 Force equal sign for long options to allow variable option positions. 2010-03-06 13:48:50 +01:00
Bastian Kleineidam 2e8800504c Fix handling of keyword arguments for baker and added tests. 2010-03-06 13:29:21 +01:00
Bastian Kleineidam 2692c7f84f Remove --force option. 2010-03-06 11:33:44 +01:00
Bastian Kleineidam cab43b1238 Added support for LZIP archives. 2010-03-04 16:42:37 +01:00
Bastian Kleineidam 778c1e366b Port to Python 2.4: remove more relative imports. 2010-03-04 15:00:07 +01:00
Bastian Kleineidam 2577a454b9 Added support for creating ZIP archives. 2010-03-03 22:04:06 +01:00
Bastian Kleineidam 0da08cf20c Added tests for archive files with unusual suffix. 2010-03-03 20:54:26 +01:00
Bastian Kleineidam 793fe6f7ea Add comment about RPM test; remove unneded test for 7z program. 2010-03-03 20:26:43 +01:00
Bastian Kleineidam 5cee1fc9c8 Test soundness of new configuration dictionaries. 2010-03-03 20:13:44 +01:00
Bastian Kleineidam fbc4a15cd1 Add format and encoding keyword arguments when testing archive creation. This is needed for files with uncommon filename extensions. 2010-03-03 20:13:03 +01:00
Bastian Kleineidam 9f8c941e2a Improved MIME test 2010-03-03 20:10:10 +01:00
Bastian Kleineidam 92eb057bcd Added MIME regocnition test. 2010-03-03 11:34:48 +01:00
Bastian Kleineidam 56e103ce01 Renamed find_codec() to has_coded() to reflect that the function does not find, but only check if the codec is available. 2010-03-01 16:18:36 +01:00
Bastian Kleineidam 3982c133be Improved format listing and added a test case for this command. 2010-03-01 16:17:14 +01:00
Bastian Kleineidam 9a80938e0a Add and use find_program() utility method instead of calling distutils find_executable directly. 2010-03-01 16:10:17 +01:00
Bastian Kleineidam fdb1f398bf Moved p7zip_supports_rar() function to util package where it belongs. 2010-03-01 16:05:32 +01:00
Bastian Kleineidam c647f65a87 Test if encoding is supported by the archive program. 2010-02-23 19:31:14 +01:00
Bastian Kleineidam ff82c2a100 Test .tgz and .taz files. 2010-02-23 19:30:58 +01:00
Bastian Kleineidam 017f9a155c Ensure executable exists when checking encoding for a program 2010-02-23 07:32:13 +01:00
Bastian Kleineidam ef668ddc94 Added check for supported tar and 7z codecs 2010-02-22 21:55:29 +01:00
Bastian Kleineidam f29b31ec42 Use instance variable for program to run; and rename cmd to program 2010-02-22 21:30:47 +01:00
Bastian Kleineidam 3c01a64a16 Added support for lzma or xz encoded tar files (ie. t.tar.lzma and t.tar.xz) 2010-02-22 18:22:49 +01:00
Bastian Kleineidam 8742abafe9 Added XZ format support 2010-02-22 17:34:08 +01:00
Bastian Kleineidam bc7e99b35b Added support for LZMA archives 2010-02-22 17:21:55 +01:00