aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-04-13 11:27:40 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-04-13 11:27:40 +0300
commit02ddf09bc3079b3e17297729b9e43f14d407b8fc (patch)
tree4a3b92a91c5eacbd7ea6229dd02ffeae6688b02f /tests
parentFix off-by-one in LZ decoder. (diff)
downloadxz-02ddf09bc3079b3e17297729b9e43f14d407b8fc.tar.xz
Put the interesting parts of XZ Utils into the public domain.
Some minor documentation cleanups were made at the same time.
Diffstat (limited to '')
-rw-r--r--tests/Makefile.am13
-rw-r--r--tests/bcj_test.c7
-rw-r--r--tests/create_compress_files.c13
-rw-r--r--tests/test_block.c13
-rw-r--r--tests/test_block_header.c13
-rw-r--r--tests/test_check.c13
-rwxr-xr-xtests/test_compress.sh13
-rwxr-xr-xtests/test_files.sh13
-rw-r--r--tests/test_filter_flags.c13
-rw-r--r--tests/test_index.c13
-rw-r--r--tests/test_stream_flags.c13
-rw-r--r--tests/tests.h13
12 files changed, 36 insertions, 114 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3e5c1be7..dc084e45 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,15 +1,8 @@
##
-## Copyright (C) 2007 Lasse Collin
+## Author: Lasse Collin
##
-## This library is free software; you can redistribute it and/or
-## modify it under the terms of the GNU Lesser General Public
-## License as published by the Free Software Foundation; either
-## version 2.1 of the License, or (at your option) any later version.
-##
-## This library is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-## Lesser General Public License for more details.
+## This file has been put into the public domain.
+## You can do whatever you want with this file.
##
EXTRA_DIST = \
diff --git a/tests/bcj_test.c b/tests/bcj_test.c
index 91456de7..05de38a2 100644
--- a/tests/bcj_test.c
+++ b/tests/bcj_test.c
@@ -11,11 +11,10 @@
/// Compiling: gcc -std=c99 -fPIC -c bcj_test.c
/// Don't optimize or strip.
//
-// This code has been put into the public domain.
+// Author: Lasse Collin
//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/create_compress_files.c b/tests/create_compress_files.c
index 2e394297..44367d8f 100644
--- a/tests/create_compress_files.c
+++ b/tests/create_compress_files.c
@@ -6,17 +6,10 @@
/// Using a test file generator program saves space in the source code
/// package considerably.
//
-// Copyright (C) 2008 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/test_block.c b/tests/test_block.c
index 01751d8c..0352dce2 100644
--- a/tests/test_block.c
+++ b/tests/test_block.c
@@ -3,17 +3,10 @@
/// \file test_block.c
/// \brief Tests Block coders
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/test_block_header.c b/tests/test_block_header.c
index 2fb22a5a..a95792eb 100644
--- a/tests/test_block_header.c
+++ b/tests/test_block_header.c
@@ -3,17 +3,10 @@
/// \file test_block_header.c
/// \brief Tests Block Header coders
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/test_check.c b/tests/test_check.c
index cb6b8ec1..7d4a3607 100644
--- a/tests/test_check.c
+++ b/tests/test_check.c
@@ -5,17 +5,10 @@
///
/// \todo Add SHA256
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/test_compress.sh b/tests/test_compress.sh
index 975c1f15..ff0cb304 100755
--- a/tests/test_compress.sh
+++ b/tests/test_compress.sh
@@ -2,17 +2,10 @@
###############################################################################
#
-# Copyright (C) 2008 Lasse Collin
+# Author: Lasse Collin
#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
+# This file has been put into the public domain.
+# You can do whatever you want with this file.
#
###############################################################################
diff --git a/tests/test_files.sh b/tests/test_files.sh
index b40a57a5..7dd9a390 100755
--- a/tests/test_files.sh
+++ b/tests/test_files.sh
@@ -2,17 +2,10 @@
###############################################################################
#
-# Copyright (C) 2008 Lasse Collin
+# Author: Lasse Collin
#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
+# This file has been put into the public domain.
+# You can do whatever you want with this file.
#
###############################################################################
diff --git a/tests/test_filter_flags.c b/tests/test_filter_flags.c
index 37bb5830..808682b5 100644
--- a/tests/test_filter_flags.c
+++ b/tests/test_filter_flags.c
@@ -3,17 +3,10 @@
/// \file test_filter_flags.c
/// \brief Tests Filter Flags coders
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/test_index.c b/tests/test_index.c
index bd2aecde..5ce2c524 100644
--- a/tests/test_index.c
+++ b/tests/test_index.c
@@ -3,17 +3,10 @@
/// \file test_index.c
/// \brief Tests functions handling the lzma_index structure
//
-// Copyright (C) 2007-2008 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/test_stream_flags.c b/tests/test_stream_flags.c
index a82a20b5..9c86c6b8 100644
--- a/tests/test_stream_flags.c
+++ b/tests/test_stream_flags.c
@@ -3,17 +3,10 @@
/// \file test_stream_flags.c
/// \brief Tests Stream Header and Stream Footer coders
//
-// Copyright (C) 2007 Lasse Collin
+// Author: Lasse Collin
//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
diff --git a/tests/tests.h b/tests/tests.h
index 66214afd..185a6820 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -3,17 +3,10 @@
/// \file tests.h
/// \brief Common definitions for test applications
//
-// Copyright (C) 2006 Lasse Collin
+// Author: Lasse Collin
//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////