aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-12 17:09:10 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-14 18:31:12 +0200
commit689e0228baeb95232430e90d628379db89583d71 (patch)
tree1ac08f6030261327d8bc231adf1ab3e16f623645 /tests
parentFix SHA-256 authors. (diff)
downloadxz-689e0228baeb95232430e90d628379db89583d71.tar.xz
Change most public domain parts to 0BSD.
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt were not touched. COPYING.0BSD was added.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/bcj_test.c3
-rwxr-xr-xtests/code_coverage.sh3
-rw-r--r--tests/create_compress_files.c3
-rw-r--r--tests/files/README3
-rw-r--r--tests/ossfuzz/fuzz_common.h3
-rw-r--r--tests/ossfuzz/fuzz_decode_alone.c3
-rw-r--r--tests/ossfuzz/fuzz_decode_stream.c3
-rw-r--r--tests/ossfuzz/fuzz_encode_stream.c3
-rw-r--r--tests/test_bcj_exact_size.c3
-rw-r--r--tests/test_block_header.c3
-rw-r--r--tests/test_check.c3
-rwxr-xr-xtests/test_compress.sh3
-rwxr-xr-xtests/test_files.sh3
-rw-r--r--tests/test_filter_flags.c3
-rw-r--r--tests/test_filter_str.c3
-rw-r--r--tests/test_hardware.c3
-rw-r--r--tests/test_index.c3
-rw-r--r--tests/test_index_hash.c3
-rw-r--r--tests/test_lzip_decoder.c3
-rw-r--r--tests/test_memlimit.c3
-rwxr-xr-xtests/test_scripts.sh3
-rw-r--r--tests/test_stream_flags.c3
-rwxr-xr-xtests/test_suffix.sh3
-rw-r--r--tests/test_vli.c3
-rw-r--r--tests/tests.h3
-rw-r--r--tests/tuktest.h3
27 files changed, 2 insertions, 79 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8a0ec53e..135e80bb 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
-## This file has been put into the public domain.
-## You can do whatever you want with this file.
-##
EXTRA_DIST = \
files \
diff --git a/tests/bcj_test.c b/tests/bcj_test.c
index 05de38a2..c9e9caac 100644
--- a/tests/bcj_test.c
+++ b/tests/bcj_test.c
@@ -13,9 +13,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
extern int jump(int a, int b);
diff --git a/tests/code_coverage.sh b/tests/code_coverage.sh
index bf2471b4..870216b6 100755
--- a/tests/code_coverage.sh
+++ b/tests/code_coverage.sh
@@ -14,9 +14,6 @@
#
# Author: Jia Tan
#
-# This file has been put into the public domain.
-# You can do whatever you want with this file.
-#
###############################################################################
set -e
diff --git a/tests/create_compress_files.c b/tests/create_compress_files.c
index 76aa3e30..a8ddb83c 100644
--- a/tests/create_compress_files.c
+++ b/tests/create_compress_files.c
@@ -8,9 +8,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"
diff --git a/tests/files/README b/tests/files/README
index b0b700c5..e16ee19c 100644
--- a/tests/files/README
+++ b/tests/files/README
@@ -8,7 +8,8 @@
.lzma (LZMA_Alone), and .lz (lzip) files in decoder implementations.
Many of the files have been created by hand with a hex editor, thus
there is no better "source code" than the files themselves. All the
- test files and this README have been put into the public domain.
+ test files and this README may be distributed under the terms of
+ the BSD Zero Clause License (0BSD).
1. File Types
diff --git a/tests/ossfuzz/fuzz_common.h b/tests/ossfuzz/fuzz_common.h
index 14742f2e..49f131cd 100644
--- a/tests/ossfuzz/fuzz_common.h
+++ b/tests/ossfuzz/fuzz_common.h
@@ -6,9 +6,6 @@
// Authors: Maksym Vatsyk
// Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include <inttypes.h>
diff --git a/tests/ossfuzz/fuzz_decode_alone.c b/tests/ossfuzz/fuzz_decode_alone.c
index 2fb7bc09..e0223655 100644
--- a/tests/ossfuzz/fuzz_decode_alone.c
+++ b/tests/ossfuzz/fuzz_decode_alone.c
@@ -6,9 +6,6 @@
// Authors: Maksym Vatsyk
// Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include <inttypes.h>
diff --git a/tests/ossfuzz/fuzz_decode_stream.c b/tests/ossfuzz/fuzz_decode_stream.c
index e06613e3..37e74241 100644
--- a/tests/ossfuzz/fuzz_decode_stream.c
+++ b/tests/ossfuzz/fuzz_decode_stream.c
@@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Maksym Vatsyk
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include <inttypes.h>
diff --git a/tests/ossfuzz/fuzz_encode_stream.c b/tests/ossfuzz/fuzz_encode_stream.c
index f5770baa..bf46669d 100644
--- a/tests/ossfuzz/fuzz_encode_stream.c
+++ b/tests/ossfuzz/fuzz_encode_stream.c
@@ -6,9 +6,6 @@
// Authors: Maksym Vatsyk
// Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include <inttypes.h>
diff --git a/tests/test_bcj_exact_size.c b/tests/test_bcj_exact_size.c
index 551166cb..ce9bd0f4 100644
--- a/tests/test_bcj_exact_size.c
+++ b/tests/test_bcj_exact_size.c
@@ -7,9 +7,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_block_header.c b/tests/test_block_header.c
index 10f4af33..500d4b02 100644
--- a/tests/test_block_header.c
+++ b/tests/test_block_header.c
@@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_check.c b/tests/test_check.c
index cb1ad251..e64a7c57 100644
--- a/tests/test_check.c
+++ b/tests/test_check.c
@@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_compress.sh b/tests/test_compress.sh
index 72c53411..b091b0d4 100755
--- a/tests/test_compress.sh
+++ b/tests/test_compress.sh
@@ -4,9 +4,6 @@
#
# Author: Lasse Collin
#
-# This file has been put into the public domain.
-# You can do whatever you want with this file.
-#
###############################################################################
# If xz wasn't built, this test is skipped.
diff --git a/tests/test_files.sh b/tests/test_files.sh
index 12f71f3a..42e53d70 100755
--- a/tests/test_files.sh
+++ b/tests/test_files.sh
@@ -4,9 +4,6 @@
#
# Author: Lasse Collin
#
-# This file has been put into the public domain.
-# You can do whatever you want with this file.
-#
###############################################################################
# If both xz and xzdec were not built, skip this test.
diff --git a/tests/test_filter_flags.c b/tests/test_filter_flags.c
index a8893239..5fa6be71 100644
--- a/tests/test_filter_flags.c
+++ b/tests/test_filter_flags.c
@@ -6,9 +6,6 @@
// Authors: Jia Tan
// Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_filter_str.c b/tests/test_filter_str.c
index c57473ae..67b99e3c 100644
--- a/tests/test_filter_str.c
+++ b/tests/test_filter_str.c
@@ -5,9 +5,6 @@
//
// Author: Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_hardware.c b/tests/test_hardware.c
index c72d9b28..9b77d14a 100644
--- a/tests/test_hardware.c
+++ b/tests/test_hardware.c
@@ -9,9 +9,6 @@
//
// Author: Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_index.c b/tests/test_index.c
index 04e5c159..1f34e864 100644
--- a/tests/test_index.c
+++ b/tests/test_index.c
@@ -9,9 +9,6 @@
// Lasse Collin
//
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_index_hash.c b/tests/test_index_hash.c
index f3c6e8fc..12ec7e70 100644
--- a/tests/test_index_hash.c
+++ b/tests/test_index_hash.c
@@ -9,9 +9,6 @@
//
// Author: Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_lzip_decoder.c b/tests/test_lzip_decoder.c
index e115573b..8d6ad4c4 100644
--- a/tests/test_lzip_decoder.c
+++ b/tests/test_lzip_decoder.c
@@ -5,9 +5,6 @@
//
// Author: Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_memlimit.c b/tests/test_memlimit.c
index c45a44b5..3c009d1f 100644
--- a/tests/test_memlimit.c
+++ b/tests/test_memlimit.c
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_scripts.sh b/tests/test_scripts.sh
index ee823612..bcef180a 100755
--- a/tests/test_scripts.sh
+++ b/tests/test_scripts.sh
@@ -4,9 +4,6 @@
#
# Author: Jonathan Nieder
#
-# This file has been put into the public domain.
-# You can do whatever you want with this file.
-#
###############################################################################
# If scripts weren't built, this test is skipped.
diff --git a/tests/test_stream_flags.c b/tests/test_stream_flags.c
index 2248e67a..38a6a83e 100644
--- a/tests/test_stream_flags.c
+++ b/tests/test_stream_flags.c
@@ -6,9 +6,6 @@
// Authors: Jia Tan
// Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/test_suffix.sh b/tests/test_suffix.sh
index f90ff7ab..606f0f4d 100755
--- a/tests/test_suffix.sh
+++ b/tests/test_suffix.sh
@@ -4,9 +4,6 @@
#
# Author: Jia Tan
#
-# This file has been put into the public domain.
-# You can do whatever you want with this file.
-#
###############################################################################
# If xz was not built, skip this test.
diff --git a/tests/test_vli.c b/tests/test_vli.c
index 996b775b..8767f768 100644
--- a/tests/test_vli.c
+++ b/tests/test_vli.c
@@ -5,9 +5,6 @@
//
// Author: Jia Tan
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
diff --git a/tests/tests.h b/tests/tests.h
index 2d427000..21d7c258 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#ifndef LZMA_TESTS_H
diff --git a/tests/tuktest.h b/tests/tuktest.h
index 508eacee..011bf852 100644
--- a/tests/tuktest.h
+++ b/tests/tuktest.h
@@ -121,9 +121,6 @@
//
// Author: Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKTEST_H