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:16 +0200
commit22af94128b89a131f5e58ae69bee5e50227c15da (patch)
treeccc9899891b9561873c903ff963e2d3b51030385 /tests
parentliblzma: Sync the AUTHORS fix about SHA-256 to lzma.h. (diff)
downloadxz-22af94128b89a131f5e58ae69bee5e50227c15da.tar.xz
Add SPDX license identifier into 0BSD source code files.
Diffstat (limited to '')
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/bcj_test.c2
-rwxr-xr-xtests/code_coverage.sh1
-rw-r--r--tests/create_compress_files.c2
-rw-r--r--tests/ossfuzz/fuzz_common.h2
-rw-r--r--tests/ossfuzz/fuzz_decode_alone.c2
-rw-r--r--tests/ossfuzz/fuzz_decode_stream.c2
-rw-r--r--tests/ossfuzz/fuzz_encode_stream.c2
-rw-r--r--tests/test_bcj_exact_size.c2
-rw-r--r--tests/test_block_header.c2
-rw-r--r--tests/test_check.c2
-rwxr-xr-xtests/test_compress.sh1
-rwxr-xr-xtests/test_compress_generated_abc1
-rwxr-xr-xtests/test_compress_generated_random1
-rwxr-xr-xtests/test_compress_generated_text1
-rwxr-xr-xtests/test_compress_prepared_bcj_sparc1
-rwxr-xr-xtests/test_compress_prepared_bcj_x861
-rwxr-xr-xtests/test_files.sh1
-rw-r--r--tests/test_filter_flags.c2
-rw-r--r--tests/test_filter_str.c2
-rw-r--r--tests/test_hardware.c2
-rw-r--r--tests/test_index.c2
-rw-r--r--tests/test_index_hash.c2
-rw-r--r--tests/test_lzip_decoder.c2
-rw-r--r--tests/test_memlimit.c2
-rwxr-xr-xtests/test_scripts.sh1
-rw-r--r--tests/test_stream_flags.c2
-rwxr-xr-xtests/test_suffix.sh1
-rw-r--r--tests/test_vli.c2
-rw-r--r--tests/tests.h2
-rw-r--r--tests/tuktest.h2
31 files changed, 51 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 135e80bb..9cfc068b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,5 @@
-##
+## SPDX-License-Identifier: 0BSD
## Author: Lasse Collin
-##
EXTRA_DIST = \
files \
diff --git a/tests/bcj_test.c b/tests/bcj_test.c
index c9e9caac..84abe7b3 100644
--- a/tests/bcj_test.c
+++ b/tests/bcj_test.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file bcj_test.c
diff --git a/tests/code_coverage.sh b/tests/code_coverage.sh
index 870216b6..b2e06a6a 100755
--- a/tests/code_coverage.sh
+++ b/tests/code_coverage.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
###############################################################################
#
diff --git a/tests/create_compress_files.c b/tests/create_compress_files.c
index a8ddb83c..2106ac81 100644
--- a/tests/create_compress_files.c
+++ b/tests/create_compress_files.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file create_compress_files.c
diff --git a/tests/ossfuzz/fuzz_common.h b/tests/ossfuzz/fuzz_common.h
index 49f131cd..4537f1bd 100644
--- a/tests/ossfuzz/fuzz_common.h
+++ b/tests/ossfuzz/fuzz_common.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file fuzz_common.h
diff --git a/tests/ossfuzz/fuzz_decode_alone.c b/tests/ossfuzz/fuzz_decode_alone.c
index e0223655..1ef2f9e7 100644
--- a/tests/ossfuzz/fuzz_decode_alone.c
+++ b/tests/ossfuzz/fuzz_decode_alone.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file fuzz_decode_alone.c
diff --git a/tests/ossfuzz/fuzz_decode_stream.c b/tests/ossfuzz/fuzz_decode_stream.c
index 37e74241..158cf4d6 100644
--- a/tests/ossfuzz/fuzz_decode_stream.c
+++ b/tests/ossfuzz/fuzz_decode_stream.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file fuzz_decode_stream.c
diff --git a/tests/ossfuzz/fuzz_encode_stream.c b/tests/ossfuzz/fuzz_encode_stream.c
index bf46669d..9438263f 100644
--- a/tests/ossfuzz/fuzz_encode_stream.c
+++ b/tests/ossfuzz/fuzz_encode_stream.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file fuzz_encode_stream.c
diff --git a/tests/test_bcj_exact_size.c b/tests/test_bcj_exact_size.c
index ce9bd0f4..fa82f0d7 100644
--- a/tests/test_bcj_exact_size.c
+++ b/tests/test_bcj_exact_size.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_bcj_exact_size.c
diff --git a/tests/test_block_header.c b/tests/test_block_header.c
index 500d4b02..d8e6221f 100644
--- a/tests/test_block_header.c
+++ b/tests/test_block_header.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_block_header.c
diff --git a/tests/test_check.c b/tests/test_check.c
index e64a7c57..9d51aa0e 100644
--- a/tests/test_check.c
+++ b/tests/test_check.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_check.c
diff --git a/tests/test_compress.sh b/tests/test_compress.sh
index b091b0d4..829b4975 100755
--- a/tests/test_compress.sh
+++ b/tests/test_compress.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
###############################################################################
#
diff --git a/tests/test_compress_generated_abc b/tests/test_compress_generated_abc
index 43c69516..b31d631c 100755
--- a/tests/test_compress_generated_abc
+++ b/tests/test_compress_generated_abc
@@ -1,3 +1,4 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
exec "$srcdir/test_compress.sh" compress_generated_abc
diff --git a/tests/test_compress_generated_random b/tests/test_compress_generated_random
index e47555d0..c20f3dac 100755
--- a/tests/test_compress_generated_random
+++ b/tests/test_compress_generated_random
@@ -1,3 +1,4 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
exec "$srcdir/test_compress.sh" compress_generated_random
diff --git a/tests/test_compress_generated_text b/tests/test_compress_generated_text
index 412ae0e9..2c8c1710 100755
--- a/tests/test_compress_generated_text
+++ b/tests/test_compress_generated_text
@@ -1,3 +1,4 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
exec "$srcdir/test_compress.sh" compress_generated_text
diff --git a/tests/test_compress_prepared_bcj_sparc b/tests/test_compress_prepared_bcj_sparc
index deb76ef6..15d870af 100755
--- a/tests/test_compress_prepared_bcj_sparc
+++ b/tests/test_compress_prepared_bcj_sparc
@@ -1,3 +1,4 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
exec "$srcdir/test_compress.sh" compress_prepared_bcj_sparc
diff --git a/tests/test_compress_prepared_bcj_x86 b/tests/test_compress_prepared_bcj_x86
index 3452d7ff..8cdd0312 100755
--- a/tests/test_compress_prepared_bcj_x86
+++ b/tests/test_compress_prepared_bcj_x86
@@ -1,3 +1,4 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
exec "$srcdir/test_compress.sh" compress_prepared_bcj_x86
diff --git a/tests/test_files.sh b/tests/test_files.sh
index 42e53d70..16cb8619 100755
--- a/tests/test_files.sh
+++ b/tests/test_files.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
###############################################################################
#
diff --git a/tests/test_filter_flags.c b/tests/test_filter_flags.c
index 5fa6be71..b19d400a 100644
--- a/tests/test_filter_flags.c
+++ b/tests/test_filter_flags.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_filter_flags.c
diff --git a/tests/test_filter_str.c b/tests/test_filter_str.c
index 67b99e3c..9e72c597 100644
--- a/tests/test_filter_str.c
+++ b/tests/test_filter_str.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_filter_str.c
diff --git a/tests/test_hardware.c b/tests/test_hardware.c
index 9b77d14a..45763f68 100644
--- a/tests/test_hardware.c
+++ b/tests/test_hardware.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_hardware.c
diff --git a/tests/test_index.c b/tests/test_index.c
index 1f34e864..bc0757a2 100644
--- a/tests/test_index.c
+++ b/tests/test_index.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_index.c
diff --git a/tests/test_index_hash.c b/tests/test_index_hash.c
index 12ec7e70..842d5348 100644
--- a/tests/test_index_hash.c
+++ b/tests/test_index_hash.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_index_hash.c
diff --git a/tests/test_lzip_decoder.c b/tests/test_lzip_decoder.c
index 8d6ad4c4..90c5819b 100644
--- a/tests/test_lzip_decoder.c
+++ b/tests/test_lzip_decoder.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_lzip_decoder.c
diff --git a/tests/test_memlimit.c b/tests/test_memlimit.c
index 3c009d1f..7e8f8620 100644
--- a/tests/test_memlimit.c
+++ b/tests/test_memlimit.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_memlimit.c
diff --git a/tests/test_scripts.sh b/tests/test_scripts.sh
index bcef180a..9b938466 100755
--- a/tests/test_scripts.sh
+++ b/tests/test_scripts.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
###############################################################################
#
diff --git a/tests/test_stream_flags.c b/tests/test_stream_flags.c
index 38a6a83e..3bc48be0 100644
--- a/tests/test_stream_flags.c
+++ b/tests/test_stream_flags.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_stream_flags.c
diff --git a/tests/test_suffix.sh b/tests/test_suffix.sh
index 606f0f4d..e2b34425 100755
--- a/tests/test_suffix.sh
+++ b/tests/test_suffix.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# SPDX-License-Identifier: 0BSD
###############################################################################
#
diff --git a/tests/test_vli.c b/tests/test_vli.c
index 8767f768..51487dcf 100644
--- a/tests/test_vli.c
+++ b/tests/test_vli.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file test_vli.c
diff --git a/tests/tests.h b/tests/tests.h
index 21d7c258..f706cab8 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tests.h
diff --git a/tests/tuktest.h b/tests/tuktest.h
index 011bf852..9ad55677 100644
--- a/tests/tuktest.h
+++ b/tests/tuktest.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuktest.h