diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-03-30 11:15:39 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-03-30 11:15:39 +0200 |
commit | 3a77ac1993492296bcfdc8ee17626e5d1c7f9761 (patch) | |
tree | abbdad5354e67402f26fbd6eace1627a4fd858ed /tests | |
parent | e3834de6cca55d7294bc3932af1ea9f85f5f116b (diff) | |
download | libgudev-3a77ac1993492296bcfdc8ee17626e5d1c7f9761.tar.gz |
all: Use SPDX headers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-enumerator-filter.c | 17 | ||||
-rw-r--r-- | tests/test-sysfsattr.c | 22 |
2 files changed, 6 insertions, 33 deletions
diff --git a/tests/test-enumerator-filter.c b/tests/test-enumerator-filter.c index dfcdba2..6e9a073 100644 --- a/tests/test-enumerator-filter.c +++ b/tests/test-enumerator-filter.c @@ -4,21 +4,10 @@ * Run with: * umockdev-wrapper /tmp/battery * - * Copyright (C) 2013 Canonical Ltd. - * Author: Martin Pitt <martin.pitt@ubuntu.com> - * - * umockdev 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. + * SPDX-FileCopyrightText: 2013 Canonical Ltd. + * SPDX-License-Identifier: LGPL-2.1-or-later * - * umockdev 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. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; If not, see <http://www.gnu.org/licenses/>. + * Author: Martin Pitt <martin.pitt@ubuntu.com> */ #include <locale.h> diff --git a/tests/test-sysfsattr.c b/tests/test-sysfsattr.c index 9d1c920..12e45ef 100644 --- a/tests/test-sysfsattr.c +++ b/tests/test-sysfsattr.c @@ -1,24 +1,8 @@ -/* umockdev example: use libumockdev in C to fake a battery - * Build with: - * gcc battery.c -Wall `pkg-config --cflags --libs umockdev-1.0 gio-2.0` -o /tmp/battery - * Run with: - * umockdev-wrapper /tmp/battery +/* + * SPDX-FileCopyrightText: 2013 Canonical Ltd. + * SPDX-License-Identifier: LGPL-2.1-or-later * - * Copyright (C) 2013 Canonical Ltd. * Author: Martin Pitt <martin.pitt@ubuntu.com> - * - * umockdev 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. - * - * umockdev 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. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; If not, see <http://www.gnu.org/licenses/>. */ #include <locale.h> |