diff options
Diffstat (limited to 'dev-libs/libmspack/files/libmspack-0.6_alpha-fix-tests.patch')
-rw-r--r-- | dev-libs/libmspack/files/libmspack-0.6_alpha-fix-tests.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/libmspack/files/libmspack-0.6_alpha-fix-tests.patch b/dev-libs/libmspack/files/libmspack-0.6_alpha-fix-tests.patch new file mode 100644 index 000000000000..22b0461ae7e4 --- /dev/null +++ b/dev-libs/libmspack/files/libmspack-0.6_alpha-fix-tests.patch @@ -0,0 +1,14 @@ +diff --git a/libmspack/test/cabd_test.c b/libmspack/test/cabd_test.c +index 5e8851c..abed65c 100644 +--- a/test/cabd_test.c ++++ b/test/cabd_test.c +@@ -186,7 +186,8 @@ void cabd_open_test_05() { + for (i = 0; i < (sizeof(str_files)/sizeof(char *)); i++) { + cab = cabd->open(cabd, str_files[i]); + TEST(cab == NULL); +- TEST(cabd->last_error(cabd) == MSPACK_ERR_DATAFORMAT); ++ TEST(cabd->last_error(cabd) == MSPACK_ERR_DATAFORMAT || ++ cabd->last_error(cabd) == MSPACK_ERR_READ); + } + + /* lack of data blocks should NOT be a problem for merely reading */ |