tests: use SPDX license identifier
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 4 Mar 2018 09:32:25 +0000 (10:32 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 4 Mar 2018 09:38:50 +0000 (10:38 +0100)
Use the SPDX license identifier for LGPLv2.1 or later in source files
of the testing framework.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
15 files changed:
tests/Makefile.am
tests/gpiod-test.c
tests/gpiod-test.h
tests/tests-chip.c
tests/tests-ctxless.c
tests/tests-event.c
tests/tests-gpiodetect.c
tests/tests-gpiofind.c
tests/tests-gpioget.c
tests/tests-gpioinfo.c
tests/tests-gpiomon.c
tests/tests-gpioset.c
tests/tests-iter.c
tests/tests-line.c
tests/tests-misc.c

index 0b755aba14c6550122abcae6476c9b8006494334..51d30be68efbcaab7e26de44d6c4428e73c570d3 100644 (file)
@@ -1,10 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
 #
-# Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
+# 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 <bartekgola@gmail.com>
 #
 
 AM_CFLAGS = -I$(top_srcdir)/include/ -include $(top_builddir)/config.h
index fcb5cd4c86a9231f04b8b599947e1912866b36f9..c69b9931ae9e20657e6b91590c5f666d18796dd1 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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"
index 49b39f4e1c3749c1b6f5cc79796e7ad09dd78a0d..7b024080097e70c3c62391a658d0eac86a97bdbe 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index e3112c69298ca8d22f72decaf629835e8af0d169..147564e00a8215601f72b9262515250072e5418a 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index c116f9eec01d43774033155db3ab5679a375710f..7ae8ce35a7e1f5f6fbc3ab53bb1db1b9e85af5d3 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index 748c550ea4bb649baa09f767fcd04c988f6b10a8..94901b2e3056ee8e6d492db2b5e532b51a3ccc9e 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index 9bfd4a1e124ceb97f483f631c317ff406f81d4ee..3ae9484b1312202c476da968f8538bb47a6fe7a6 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index 3f9ceb57290afd72e274fd96778623650c005f5e..dfd6f6ed6fc378ea3dca94d20118e4bea578f6d1 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index 82c489a8f927e693d8d83fee0a78f50cc41b7886..ce44a5d9442be0cf47c1777668b5cb98fa75c635 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index 1529f181ca62ccf118017886baae14cca5d1fee9..0ab84426f05b80eceae5ea20ee96302d253ff009 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index 57e711b8bb2af61cbd7af64e026da272f9007c57..93f2e4840cad383f65c42f3d7eb4168d799e75b4 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index ed18ceca3bc7de4e1b701ee9cddcbfbe73646d14..5aa7846d32ed90956f05d1ac72d20c0fe4085b77 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index a905e6b68ec842e3afa4a515027162e6adb5c481..3647b7a26cc26263480d97dc5361d706faf1e666 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index b9e6ec3ad3e9f9a6a9e241d8b567008702c82585..6b33ec69af41a419b88e5e51c5a76e3802a23fc0 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */
index fd16dbe76b1dbb97dcbdaa4e2091523d875f8904..2d6ec939b703d628e0377819cbf8d5b788e5a69a 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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. */