From: Bartosz Golaszewski Date: Sun, 4 Mar 2018 09:32:25 +0000 (+0100) Subject: tests: use SPDX license identifier X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b59666510f70130f6cb47fd384b02f3cf42f2747;p=qemu-gpiodev%2Flibgpiod.git tests: use SPDX license identifier Use the SPDX license identifier for LGPLv2.1 or later in source files of the testing framework. Signed-off-by: Bartosz Golaszewski --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 0b755ab..51d30be 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,10 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + # -# Copyright (C) 2017-2018 Bartosz Golaszewski +# This file is part of libgpiod. # -# This program 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. +# Copyright (C) 2017-2018 Bartosz Golaszewski # AM_CFLAGS = -I$(top_srcdir)/include/ -include $(top_builddir)/config.h diff --git a/tests/gpiod-test.c b/tests/gpiod-test.c index fcb5cd4..c69b993 100644 --- a/tests/gpiod-test.c +++ b/tests/gpiod-test.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ #include "gpiod-test.h" diff --git a/tests/gpiod-test.h b/tests/gpiod-test.h index 49b39f4..7b02408 100644 --- a/tests/gpiod-test.h +++ b/tests/gpiod-test.h @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Testing framework - functions and definitions used by test cases. */ diff --git a/tests/tests-chip.c b/tests/tests-chip.c index e3112c6..147564e 100644 --- a/tests/tests-chip.c +++ b/tests/tests-chip.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for GPIO chip handling. */ diff --git a/tests/tests-ctxless.c b/tests/tests-ctxless.c index c116f9e..7ae8ce3 100644 --- a/tests/tests-ctxless.c +++ b/tests/tests-ctxless.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for the high-level API. */ diff --git a/tests/tests-event.c b/tests/tests-event.c index 748c550..94901b2 100644 --- a/tests/tests-event.c +++ b/tests/tests-event.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for GPIO line events. */ diff --git a/tests/tests-gpiodetect.c b/tests/tests-gpiodetect.c index 9bfd4a1..3ae9484 100644 --- a/tests/tests-gpiodetect.c +++ b/tests/tests-gpiodetect.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for the gpiodetect program. */ diff --git a/tests/tests-gpiofind.c b/tests/tests-gpiofind.c index 3f9ceb5..dfd6f6e 100644 --- a/tests/tests-gpiofind.c +++ b/tests/tests-gpiofind.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for the gpiofind program. */ diff --git a/tests/tests-gpioget.c b/tests/tests-gpioget.c index 82c489a..ce44a5d 100644 --- a/tests/tests-gpioget.c +++ b/tests/tests-gpioget.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for the gpioget program. */ diff --git a/tests/tests-gpioinfo.c b/tests/tests-gpioinfo.c index 1529f18..0ab8442 100644 --- a/tests/tests-gpioinfo.c +++ b/tests/tests-gpioinfo.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for the gpioinfo program. */ diff --git a/tests/tests-gpiomon.c b/tests/tests-gpiomon.c index 57e711b..93f2e48 100644 --- a/tests/tests-gpiomon.c +++ b/tests/tests-gpiomon.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for the gpiomon program. */ diff --git a/tests/tests-gpioset.c b/tests/tests-gpioset.c index ed18cec..5aa7846 100644 --- a/tests/tests-gpioset.c +++ b/tests/tests-gpioset.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Test cases for the gpioset program. */ diff --git a/tests/tests-iter.c b/tests/tests-iter.c index a905e6b..3647b7a 100644 --- a/tests/tests-iter.c +++ b/tests/tests-iter.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Iterator test cases. */ diff --git a/tests/tests-line.c b/tests/tests-line.c index b9e6ec3..6b33ec6 100644 --- a/tests/tests-line.c +++ b/tests/tests-line.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* GPIO line test cases. */ diff --git a/tests/tests-misc.c b/tests/tests-misc.c index fd16dbe..2d6ec93 100644 --- a/tests/tests-misc.c +++ b/tests/tests-misc.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program 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. */ /* Misc test cases. */