Typos found with codespell.
This commit is contained in:
Tobias Stoeckmann authored and GitHub committed 2024-05-04 10:58:25 -07:00
1 parent 0936dd5c00
commit 9a50ce48b6
9 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ echo "f3" > $dir/d1/f3
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"
@@ -41,7 +41,7 @@ DEFINE_TEST(test_read_format_zip_traditional_encryption_data)
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;
}
@@ -38,7 +38,7 @@ test_winzip_aes(const char *refname, int need_libz)
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;
}
@@ -39,7 +39,7 @@ DEFINE_TEST(test_read_format_zip_winzip_aes256_large)
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;
}
+3 -3
View File
@@ -699,7 +699,7 @@ DEFINE_TEST(test_write_format_zip_traditional_pkware_encryption)
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;
@@ -779,7 +779,7 @@ DEFINE_TEST(test_write_format_zip_winzip_aes128_encryption)
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;
@@ -859,7 +859,7 @@ DEFINE_TEST(test_write_format_zip_winzip_aes256_encryption)
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;
@@ -205,7 +205,7 @@ static void verify_contents(const char *zip_buff, size_t size)
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 */
+1 -1
View File
@@ -25,7 +25,7 @@
*/
#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";
+1 -1
View File
@@ -25,7 +25,7 @@
*/
#include "test.h"
/* Test non existant file */
/* Test non existent file */
DEFINE_TEST(test_not_exist)
{
int r;
+1 -1
View File
@@ -25,7 +25,7 @@
*/
#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";