Typos found with codespell.
rm -r $dir
}
#
-# Make a lzip file from splitted tar file.
+# Make a lzip file from split tar file.
#
name=test_compat_lzip_1
dir="$name`date +%Y%m%d%H%M%S`.$USER"
assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
if (ARCHIVE_OK != archive_write_set_options(a,
"zip:encryption=traditional")) {
- skipping("This system does not have cryptographic liberary");
+ skipping("This system does not have cryptographic library");
archive_write_free(a);
return;
}
assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
if (ARCHIVE_OK != archive_write_set_options(a,
"zip:encryption=aes256")) {
- skipping("This system does not have cryptographic liberary");
+ skipping("This system does not have cryptographic library");
archive_write_free(a);
return;
}
assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
if (ARCHIVE_OK != archive_write_set_options(a,
"zip:encryption=aes256")) {
- skipping("This system does not have cryptographic liberary");
+ skipping("This system does not have cryptographic library");
archive_write_free(a);
return;
}
assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
if (ARCHIVE_OK != archive_write_set_options(a,
"zip:encryption=zipcrypt")) {
- skipping("This system does not have cryptographic liberary");
+ skipping("This system does not have cryptographic library");
archive_write_free(a);
free(buff);
return;
assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
if (ARCHIVE_OK != archive_write_set_options(a, "zip:encryption=aes128"))
{
- skipping("This system does not have cryptographic liberary");
+ skipping("This system does not have cryptographic library");
archive_write_free(a);
free(buff);
return;
assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
if (ARCHIVE_OK != archive_write_set_options(a, "zip:encryption=aes256"))
{
- skipping("This system does not have cryptographic liberary");
+ skipping("This system does not have cryptographic library");
archive_write_free(a);
free(buff);
return;
assertEqualInt(i4(data_descriptor + 4), crc);
/* Check compressed size */
assertEqualInt(i4(data_descriptor + 8), sizeof(file_data1) + sizeof(file_data2));
- /* Chcek uncompresed size */
+ /* Check uncompressed size */
assertEqualInt(i4(data_descriptor + 12), sizeof(file_data1) + sizeof(file_data2));
/* Get folder entry in central directory */
*/
#include "test.h"
-/* Test n arg - don't overrite existing files */
+/* Test n arg - don't overwrite existing files */
DEFINE_TEST(test_n)
{
const char *reffile = "test_basic.zip";
*/
#include "test.h"
-/* Test non existant file */
+/* Test non existent file */
DEFINE_TEST(test_not_exist)
{
int r;
*/
#include "test.h"
-/* Test o arg - overrite existing files */
+/* Test o arg - overwrite existing files */
DEFINE_TEST(test_o)
{
const char *reffile = "test_basic.zip";