diff --git a/test/data/README.md b/test/data/README.md index 76086796..f424906b 100644 --- a/test/data/README.md +++ b/test/data/README.md @@ -24,6 +24,12 @@ world examples of various file formats, or deriviations of them. --- +The non-ascii directory holds trivial UTF-8 (but not ASCII) text files. + +--- + +`archive.*` archives a subset of other files in this directory. + `animated-red-blue.gif` is an original animation by Nigel Tao . @@ -60,6 +66,8 @@ Museum of art. [www.metmuseum.org](http://www.metmuseum.org/art/collection/search/436532) lists that image as in the public domain. +`hello.sh` is a trivial shell script. + `hibiscus.regular.*` are various encodings of a photo of "Hibiscus and Parrots" by Louis Comfort Tiffany, held by the Metropolitan Museum of Art. [www.metmuseum.org](http://www.metmuseum.org/art/collection/search/13503) lists diff --git a/test/data/archive.7z b/test/data/archive.7z new file mode 100644 index 00000000..d7417e8a Binary files /dev/null and b/test/data/archive.7z differ diff --git a/test/data/archive.cab b/test/data/archive.cab new file mode 100644 index 00000000..3eb094ab Binary files /dev/null and b/test/data/archive.cab differ diff --git a/test/data/archive.iso b/test/data/archive.iso new file mode 100644 index 00000000..07c97801 Binary files /dev/null and b/test/data/archive.iso differ diff --git a/test/data/archive.rar b/test/data/archive.rar new file mode 100644 index 00000000..c08931aa Binary files /dev/null and b/test/data/archive.rar differ diff --git a/test/data/archive.tar b/test/data/archive.tar new file mode 100644 index 00000000..bedf0fbd Binary files /dev/null and b/test/data/archive.tar differ diff --git a/test/data/archive.tar.bz2 b/test/data/archive.tar.bz2 new file mode 100644 index 00000000..ac37faab Binary files /dev/null and b/test/data/archive.tar.bz2 differ diff --git a/test/data/archive.tar.gz b/test/data/archive.tar.gz new file mode 100644 index 00000000..bb481dfb Binary files /dev/null and b/test/data/archive.tar.gz differ diff --git a/test/data/archive.zip b/test/data/archive.zip new file mode 100644 index 00000000..af160b11 Binary files /dev/null and b/test/data/archive.zip differ diff --git a/test/data/hello.sh b/test/data/hello.sh new file mode 100755 index 00000000..db0f9d4c --- /dev/null +++ b/test/data/hello.sh @@ -0,0 +1,20 @@ +#!/bin/bash -eu +# Copyright 2021 The Wuffs Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# ---------------- + +# This file should have the "executable" Unix permission bit. + +echo hello diff --git a/test/data/non-ascii/αβ.txt b/test/data/non-ascii/αβ.txt new file mode 100644 index 00000000..19ae7fb5 --- /dev/null +++ b/test/data/non-ascii/αβ.txt @@ -0,0 +1,2 @@ +α U+03B1 GREEK SMALL LETTER ALPHA. UTF-8: [C3 B1]. +β U+03B2 GREEK SMALL LETTER BETA. UTF-8: [C3 B2]. diff --git a/test/data/non-ascii/😻.txt b/test/data/non-ascii/😻.txt new file mode 100644 index 00000000..98aeba7a --- /dev/null +++ b/test/data/non-ascii/😻.txt @@ -0,0 +1,3 @@ +😻 U+1F63B SMILING CAT FACE WITH HEART-SHAPED EYES. UTF-8: [F0 9F 98 BB]. + +This code point is outside of the Unicode BMP (Basic Multilingual Plane). diff --git a/test/data/romeo.txt.bz2 b/test/data/romeo.txt.bz2 new file mode 100644 index 00000000..e272835a Binary files /dev/null and b/test/data/romeo.txt.bz2 differ