mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
test/3pdata: add xzsuite
This commit is contained in:
1 parent
33db93f617
commit
13d9d259e8
4 files changed
+50
-4
No files matched your search
@@ -18,8 +18,8 @@ if [ ! -e ../../wuffs-root-directory.txt ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check out a specific commit (from June 2023).
|
# Check out a specific commit (from May 2023).
|
||||||
git clone --quiet --depth=1 https://github.com/nigeltao/blink-web-tests-images-resources.git
|
git clone --quiet https://github.com/nigeltao/blink-web-tests-images-resources.git
|
||||||
cd blink-web-tests-images-resources
|
cd blink-web-tests-images-resources
|
||||||
git reset --quiet --hard 9c5a6768184e5b45eaddad8f83ffd87dc5dc8f15
|
git reset --quiet --hard 9c5a6768184e5b45eaddad8f83ffd87dc5dc8f15
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ if [ ! -e ../../wuffs-root-directory.txt ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check out a specific commit (from June 2023).
|
# Check out a specific commit (from May 2023).
|
||||||
git clone --quiet --depth=1 https://github.com/nigeltao/golang-go-src-image-testdata.git
|
git clone --quiet https://github.com/nigeltao/golang-go-src-image-testdata.git
|
||||||
cd golang-go-src-image-testdata
|
cd golang-go-src-image-testdata
|
||||||
git reset --quiet --hard f2f7970f9054b910148be4e0dbda94b392c58700
|
git reset --quiet --hard f2f7970f9054b910148be4e0dbda94b392c58700
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
Executable
+30
@@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/bash -eu
|
||||||
|
# Copyright 2023 The Wuffs Authors.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||||
|
# https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||||
|
# <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
||||||
|
# option. This file may not be copied, modified, or distributed
|
||||||
|
# except according to those terms.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||||
|
|
||||||
|
# ----------------
|
||||||
|
|
||||||
|
# This script fetches xz's tests/files suite.
|
||||||
|
|
||||||
|
if [ ! -e ../../wuffs-root-directory.txt ]; then
|
||||||
|
echo "$0 should be run from the Wuffs test/3pdata directory."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check out a specific commit (from December 2023).
|
||||||
|
git clone --quiet https://github.com/nigeltao/xz-tests-files.git
|
||||||
|
cd xz-tests-files
|
||||||
|
git reset --quiet --hard 6c3e22469300d284182159b5ae7db9e959dfe62e
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# Trim the git metadata.
|
||||||
|
rm -rf xzsuite
|
||||||
|
rm -rf xz-tests-files/.git
|
||||||
|
mv xz-tests-files xzsuite
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# Generated by script/print-mzcat-checksums.sh
|
||||||
|
7759aecd test/3pdata/xzsuite/bad-1-lzma2-2.xz
|
||||||
|
7759aecd test/3pdata/xzsuite/bad-1-lzma2-3.xz
|
||||||
|
db4847fb test/3pdata/xzsuite/bad-1-lzma2-7.xz
|
||||||
|
8e26aed7 test/3pdata/xzsuite/bad-1-lzma2-8.xz
|
||||||
|
15a2a343 test/3pdata/xzsuite/bad-too_big_size-with_eopm.lzma
|
||||||
|
77e47a71 test/3pdata/xzsuite/bad-too_small_size-without_eopm-1.lzma
|
||||||
|
dd46b7fb test/3pdata/xzsuite/bad-too_small_size-without_eopm-2.lzma
|
||||||
|
bdc79ef1 test/3pdata/xzsuite/bad-too_small_size-without_eopm-3.lzma
|
||||||
|
15a2a343 test/3pdata/xzsuite/bad-unknown_size-without_eopm.lzma
|
||||||
|
7759aecd test/3pdata/xzsuite/good-1-lzma2-1.xz
|
||||||
|
7759aecd test/3pdata/xzsuite/good-1-lzma2-2.xz
|
||||||
|
8e26aed7 test/3pdata/xzsuite/good-1-lzma2-4.xz
|
||||||
|
15a2a343 test/3pdata/xzsuite/good-known_size-with_eopm.lzma
|
||||||
|
15a2a343 test/3pdata/xzsuite/good-known_size-without_eopm.lzma
|
||||||
|
15a2a343 test/3pdata/xzsuite/good-unknown_size-with_eopm.lzma
|
||||||
Reference in new issue
Block a user