Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7zip reader: add test for POWERPC filter support for LZMA compressor #2460

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mostynb
Copy link
Contributor

@mostynb mostynb commented Dec 28, 2024

This new test archive contains a C hello world executable built like so on a ubuntu 24.04 machine:

int main(int argc, char *argv[]) {
  printf("hello, world\n");
  return 0;
}

powerpc-linux-gnu-gcc hw.c -o hw-powerpc -Wall

The test archive that contains this executable was created like so, using 7-Zip 24.08: 7zz a -t7z -m0=lzma2 -mf=ppc libarchive/test/test_read_format_7zip_lzma2_powerpc.7z hw-powerpc

The new test archive is required because the powerpc filter for lzma is implemented in liblzma rather than in libarchive.

This new test archive contains a C hello world executable built like so on a ubuntu 24.04 machine:
```
int main(int argc, char *argv[]) {
  printf("hello, world\n");
  return 0;
}
```

`powerpc-linux-gnu-gcc hw.c -o hw-powerpc -Wall`

The test archive that contains this executable was created like so, using 7-Zip 24.08:
`7zz a -t7z -m0=lzma2 -mf=ppc libarchive/test/test_read_format_7zip_lzma2_powerpc.7z hw-powerpc`

The new test archive is required because the powerpc filter for lzma is implemented in liblzma rather
than in libarchive.
@mostynb mostynb changed the title 7zip reader: add test for POWERPC filter support for LZMA compressors 7zip reader: add test for POWERPC filter support for LZMA compressor Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant