run_test.sh 466 B

1234567891011121314151617181920
  1. set -ex
  2. test -f "${PREFIX}/lib/pkgconfig/libarchive.pc"
  3. test -f "${PREFIX}/include/archive.h"
  4. test -f "${PREFIX}/include/archive_entry.h"
  5. test -f "${PREFIX}/lib/libarchive.a"
  6. test -f "${PREFIX}/lib/libarchive${SHLIB_EXT}"
  7. bsdcat --version
  8. bsdcpio --version
  9. bsdtar --version
  10. pushd test-archives
  11. bsdtar -vxf hello_world.xar 2>&1 | rg "x hello_world"
  12. bsdtar -vxf archive.7z 2>&1 | rg "x 7zip-archive"
  13. bsdtar -vxf hello_world.tar.zst 2>&1 | rg "greets"
  14. popd
  15. exit 0