summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/admin-test.sh2
-rw-r--r--tests/archive-test.sh2
-rw-r--r--tests/basic-test.sh2
-rwxr-xr-xtests/corrupt-repo-ref.js2
-rw-r--r--tests/installed/libinsttest.sh2
-rw-r--r--tests/libostreetest.c2
-rw-r--r--tests/libostreetest.h2
-rw-r--r--tests/libtest-core.sh2
-rwxr-xr-xtests/libtest.sh2
-rw-r--r--tests/pull-test.sh2
-rw-r--r--tests/pull-test2.sh2
-rw-r--r--tests/readdir-rand.c2
-rw-r--r--tests/repo-finder-mount.c2
-rwxr-xr-xtests/test-admin-deploy-2.sh2
-rwxr-xr-xtests/test-admin-deploy-bootid-gc.sh2
-rwxr-xr-xtests/test-admin-deploy-clean.sh2
-rwxr-xr-xtests/test-admin-deploy-etcmerge-cornercases.sh2
-rwxr-xr-xtests/test-admin-deploy-grub2.sh2
-rwxr-xr-xtests/test-admin-deploy-karg.sh2
-rwxr-xr-xtests/test-admin-deploy-switch.sh2
-rwxr-xr-xtests/test-admin-deploy-syslinux.sh2
-rwxr-xr-xtests/test-admin-deploy-uboot.sh2
-rwxr-xr-xtests/test-admin-instutil-set-kargs.sh2
-rwxr-xr-xtests/test-admin-locking.sh2
-rwxr-xr-xtests/test-admin-pull-deploy-commit.sh2
-rwxr-xr-xtests/test-admin-pull-deploy-split.sh2
-rwxr-xr-xtests/test-admin-upgrade-endoflife.sh2
-rwxr-xr-xtests/test-admin-upgrade-not-backwards.sh2
-rwxr-xr-xtests/test-admin-upgrade-unconfigured.sh2
-rwxr-xr-xtests/test-archivez.sh2
-rwxr-xr-xtests/test-auto-summary.sh2
-rw-r--r--tests/test-basic-c.c2
-rwxr-xr-xtests/test-basic-root.sh2
-rwxr-xr-xtests/test-basic-user-only.sh2
-rwxr-xr-xtests/test-basic-user.sh2
-rwxr-xr-xtests/test-basic.sh2
-rw-r--r--tests/test-bloom.c2
-rw-r--r--tests/test-bsdiff.c2
-rw-r--r--tests/test-checksum.c2
-rwxr-xr-xtests/test-commit-sign.sh2
-rwxr-xr-xtests/test-core.js2
-rwxr-xr-xtests/test-corruption.sh2
-rwxr-xr-xtests/test-create-usb.sh2
-rwxr-xr-xtests/test-delta.sh2
-rwxr-xr-xtests/test-demo-buildsystem.sh2
-rwxr-xr-xtests/test-export.sh2
-rwxr-xr-xtests/test-find-remotes.sh2
-rwxr-xr-xtests/test-fsck-collections.sh2
-rwxr-xr-xtests/test-gpg-signed-commit.sh2
-rw-r--r--tests/test-gpg-verify-result.c2
-rwxr-xr-xtests/test-help.sh2
-rwxr-xr-xtests/test-init-collections.sh2
-rw-r--r--tests/test-keyfile-utils.c2
-rw-r--r--tests/test-libarchive-import.c2
-rwxr-xr-xtests/test-libarchive.sh2
-rwxr-xr-xtests/test-local-pull-depth.sh2
-rwxr-xr-xtests/test-local-pull.sh2
-rw-r--r--tests/test-lzma.c2
-rw-r--r--tests/test-mock-gio.c2
-rw-r--r--tests/test-mock-gio.h2
-rw-r--r--tests/test-mutable-tree.c2
-rwxr-xr-xtests/test-oldstyle-partial.sh2
-rw-r--r--tests/test-ot-opt-utils.c2
-rw-r--r--tests/test-ot-tool-util.c2
-rw-r--r--tests/test-ot-unix-utils.c2
-rwxr-xr-xtests/test-parent.sh2
-rwxr-xr-xtests/test-prune-collections.sh2
-rwxr-xr-xtests/test-prune.sh2
-rwxr-xr-xtests/test-pull-bare.sh2
-rwxr-xr-xtests/test-pull-bareuser.sh2
-rwxr-xr-xtests/test-pull-bareuseronly.sh2
-rw-r--r--tests/test-pull-c.c2
-rwxr-xr-xtests/test-pull-collections.sh2
-rwxr-xr-xtests/test-pull-commit-only.sh2
-rwxr-xr-xtests/test-pull-contenturl.sh2
-rwxr-xr-xtests/test-pull-corruption.sh2
-rwxr-xr-xtests/test-pull-depth.sh2
-rwxr-xr-xtests/test-pull-large-metadata.sh2
-rwxr-xr-xtests/test-pull-localcache.sh2
-rwxr-xr-xtests/test-pull-metalink.sh2
-rwxr-xr-xtests/test-pull-mirror-summary.sh2
-rwxr-xr-xtests/test-pull-mirrorlist.sh2
-rwxr-xr-xtests/test-pull-override-url.sh2
-rwxr-xr-xtests/test-pull-repeated.sh2
-rwxr-xr-xtests/test-pull-resume.sh2
-rwxr-xr-xtests/test-pull-subpath.sh2
-rwxr-xr-xtests/test-pull-summary-sigs.sh2
-rwxr-xr-xtests/test-pull-untrusted.sh2
-rwxr-xr-xtests/test-pull2-bareuseronly.sh2
-rwxr-xr-xtests/test-refs-collections.sh2
-rwxr-xr-xtests/test-refs.sh2
-rwxr-xr-xtests/test-remote-add-collections.sh2
-rwxr-xr-xtests/test-remote-add.sh2
-rwxr-xr-xtests/test-remote-cookies.sh2
-rwxr-xr-xtests/test-remote-gpg-import.sh2
-rwxr-xr-xtests/test-remote-headers.sh2
-rwxr-xr-xtests/test-remotes-config-dir.js2
-rw-r--r--tests/test-repo-finder-avahi.c2
-rw-r--r--tests/test-repo-finder-config.c2
-rwxr-xr-xtests/test-repo-finder-mount-integration.sh2
-rw-r--r--tests/test-repo-finder-mount.c2
-rw-r--r--tests/test-repo.c2
-rwxr-xr-xtests/test-reset-nonlinear.sh2
-rwxr-xr-xtests/test-rofiles-fuse.sh2
-rw-r--r--tests/test-rollsum-cli.c2
-rw-r--r--tests/test-rollsum.c2
-rwxr-xr-xtests/test-sizes.js2
-rwxr-xr-xtests/test-summary-collections.sh2
-rwxr-xr-xtests/test-summary-update.sh2
-rwxr-xr-xtests/test-summary-view.sh2
-rwxr-xr-xtests/test-symbols.sh2
-rw-r--r--tests/test-sysroot-c.c2
-rwxr-xr-xtests/test-sysroot.js2
-rw-r--r--tests/test-varint.c2
-rwxr-xr-xtests/test-xattrs.sh2
115 files changed, 230 insertions, 0 deletions
diff --git a/tests/admin-test.sh b/tests/admin-test.sh
index dafbc79b..b546e142 100644
--- a/tests/admin-test.sh
+++ b/tests/admin-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/archive-test.sh b/tests/archive-test.sh
index 76bc2635..42b232bf 100644
--- a/tests/archive-test.sh
+++ b/tests/archive-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index 9c8771e5..7f1f4298 100644
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/corrupt-repo-ref.js b/tests/corrupt-repo-ref.js
index bcde86b0..3af8f670 100755
--- a/tests/corrupt-repo-ref.js
+++ b/tests/corrupt-repo-ref.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2014 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// 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
diff --git a/tests/installed/libinsttest.sh b/tests/installed/libinsttest.sh
index 759c95f2..d0ee8c6c 100644
--- a/tests/installed/libinsttest.sh
+++ b/tests/installed/libinsttest.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/libostreetest.c b/tests/libostreetest.c
index 11949c98..1991ffd0 100644
--- a/tests/libostreetest.c
+++ b/tests/libostreetest.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/libostreetest.h b/tests/libostreetest.h
index 0273334a..d1bd61f3 100644
--- a/tests/libostreetest.h
+++ b/tests/libostreetest.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/libtest-core.sh b/tests/libtest-core.sh
index 7223f4d2..6991a86d 100644
--- a/tests/libtest-core.sh
+++ b/tests/libtest-core.sh
@@ -9,6 +9,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/libtest.sh b/tests/libtest.sh
index a997ce4b..9591a88f 100755
--- a/tests/libtest.sh
+++ b/tests/libtest.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/pull-test.sh b/tests/pull-test.sh
index 8018e91a..0b3fa0c9 100644
--- a/tests/pull-test.sh
+++ b/tests/pull-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/pull-test2.sh b/tests/pull-test2.sh
index 5957996a..2b9889c2 100644
--- a/tests/pull-test2.sh
+++ b/tests/pull-test2.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/readdir-rand.c b/tests/readdir-rand.c
index 69047faa..64a76516 100644
--- a/tests/readdir-rand.c
+++ b/tests/readdir-rand.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/repo-finder-mount.c b/tests/repo-finder-mount.c
index ccea1b2c..be0e87e3 100644
--- a/tests/repo-finder-mount.c
+++ b/tests/repo-finder-mount.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-admin-deploy-2.sh b/tests/test-admin-deploy-2.sh
index 3e00c670..4ecaf67a 100755
--- a/tests/test-admin-deploy-2.sh
+++ b/tests/test-admin-deploy-2.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-bootid-gc.sh b/tests/test-admin-deploy-bootid-gc.sh
index d96438c1..9a5094ce 100755
--- a/tests/test-admin-deploy-bootid-gc.sh
+++ b/tests/test-admin-deploy-bootid-gc.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-clean.sh b/tests/test-admin-deploy-clean.sh
index 4dc19f41..bca45251 100755
--- a/tests/test-admin-deploy-clean.sh
+++ b/tests/test-admin-deploy-clean.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-etcmerge-cornercases.sh b/tests/test-admin-deploy-etcmerge-cornercases.sh
index 8da6d16c..fab50d16 100755
--- a/tests/test-admin-deploy-etcmerge-cornercases.sh
+++ b/tests/test-admin-deploy-etcmerge-cornercases.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-grub2.sh b/tests/test-admin-deploy-grub2.sh
index c91ba8a5..231aa2f8 100755
--- a/tests/test-admin-deploy-grub2.sh
+++ b/tests/test-admin-deploy-grub2.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-karg.sh b/tests/test-admin-deploy-karg.sh
index bbd7af33..7dcf7dbd 100755
--- a/tests/test-admin-deploy-karg.sh
+++ b/tests/test-admin-deploy-karg.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-switch.sh b/tests/test-admin-deploy-switch.sh
index 6c27649f..bae67667 100755
--- a/tests/test-admin-deploy-switch.sh
+++ b/tests/test-admin-deploy-switch.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-syslinux.sh b/tests/test-admin-deploy-syslinux.sh
index 7c1535b6..46651763 100755
--- a/tests/test-admin-deploy-syslinux.sh
+++ b/tests/test-admin-deploy-syslinux.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-deploy-uboot.sh b/tests/test-admin-deploy-uboot.sh
index ec031477..8ea37fe9 100755
--- a/tests/test-admin-deploy-uboot.sh
+++ b/tests/test-admin-deploy-uboot.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
# Copyright (C) 2013 Javier Martinez <javier.martinez@collabora.co.uk>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-instutil-set-kargs.sh b/tests/test-admin-instutil-set-kargs.sh
index fb08c24b..9bfd2a08 100755
--- a/tests/test-admin-instutil-set-kargs.sh
+++ b/tests/test-admin-instutil-set-kargs.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
# Copyright (C) 2014 Owen Taylor <otaylor@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-locking.sh b/tests/test-admin-locking.sh
index 3466ce99..7e708502 100755
--- a/tests/test-admin-locking.sh
+++ b/tests/test-admin-locking.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-pull-deploy-commit.sh b/tests/test-admin-pull-deploy-commit.sh
index f128fd0b..557ae60a 100755
--- a/tests/test-admin-pull-deploy-commit.sh
+++ b/tests/test-admin-pull-deploy-commit.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-pull-deploy-split.sh b/tests/test-admin-pull-deploy-split.sh
index fa10b784..602cdd6c 100755
--- a/tests/test-admin-pull-deploy-split.sh
+++ b/tests/test-admin-pull-deploy-split.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-upgrade-endoflife.sh b/tests/test-admin-upgrade-endoflife.sh
index c5a05da6..b8a091f4 100755
--- a/tests/test-admin-upgrade-endoflife.sh
+++ b/tests/test-admin-upgrade-endoflife.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-upgrade-not-backwards.sh b/tests/test-admin-upgrade-not-backwards.sh
index 10fd25c9..c23dbf29 100755
--- a/tests/test-admin-upgrade-not-backwards.sh
+++ b/tests/test-admin-upgrade-not-backwards.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-admin-upgrade-unconfigured.sh b/tests/test-admin-upgrade-unconfigured.sh
index 63885642..d9a15fcc 100755
--- a/tests/test-admin-upgrade-unconfigured.sh
+++ b/tests/test-admin-upgrade-unconfigured.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-archivez.sh b/tests/test-archivez.sh
index d6faab6c..0dccd737 100755
--- a/tests/test-archivez.sh
+++ b/tests/test-archivez.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-auto-summary.sh b/tests/test-auto-summary.sh
index 96fc068b..b12f1593 100755
--- a/tests/test-auto-summary.sh
+++ b/tests/test-auto-summary.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-basic-c.c b/tests/test-basic-c.c
index 4ca379e8..8515b129 100644
--- a/tests/test-basic-c.c
+++ b/tests/test-basic-c.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-basic-root.sh b/tests/test-basic-root.sh
index a2fa8809..b06aa4a8 100755
--- a/tests/test-basic-root.sh
+++ b/tests/test-basic-root.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-basic-user-only.sh b/tests/test-basic-user-only.sh
index 6a2ca25f..bea7b77f 100755
--- a/tests/test-basic-user-only.sh
+++ b/tests/test-basic-user-only.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-basic-user.sh b/tests/test-basic-user.sh
index 6987e4ad..bd95f5ed 100755
--- a/tests/test-basic-user.sh
+++ b/tests/test-basic-user.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-basic.sh b/tests/test-basic.sh
index eaccc2f0..c7f28c8c 100755
--- a/tests/test-basic.sh
+++ b/tests/test-basic.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-bloom.c b/tests/test-bloom.c
index 33cf4f35..ea522ce0 100644
--- a/tests/test-bloom.c
+++ b/tests/test-bloom.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-bsdiff.c b/tests/test-bsdiff.c
index de55aac2..a6b7fc01 100644
--- a/tests/test-bsdiff.c
+++ b/tests/test-bsdiff.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-checksum.c b/tests/test-checksum.c
index af8efb2e..8428155a 100644
--- a/tests/test-checksum.c
+++ b/tests/test-checksum.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-commit-sign.sh b/tests/test-commit-sign.sh
index b0a88138..d789d2fb 100755
--- a/tests/test-commit-sign.sh
+++ b/tests/test-commit-sign.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-core.js b/tests/test-core.js
index 8a06b6fa..a9ef8919 100755
--- a/tests/test-core.js
+++ b/tests/test-core.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// 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
diff --git a/tests/test-corruption.sh b/tests/test-corruption.sh
index 74ce8e83..997d39c7 100755
--- a/tests/test-corruption.sh
+++ b/tests/test-corruption.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-create-usb.sh b/tests/test-create-usb.sh
index c1738b66..e057e90f 100755
--- a/tests/test-create-usb.sh
+++ b/tests/test-create-usb.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-delta.sh b/tests/test-delta.sh
index 55f4e93f..39e066ea 100755
--- a/tests/test-delta.sh
+++ b/tests/test-delta.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-demo-buildsystem.sh b/tests/test-demo-buildsystem.sh
index 4b2d86f1..c1119192 100755
--- a/tests/test-demo-buildsystem.sh
+++ b/tests/test-demo-buildsystem.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-export.sh b/tests/test-export.sh
index 7cba3bd7..e1a0346c 100755
--- a/tests/test-export.sh
+++ b/tests/test-export.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-find-remotes.sh b/tests/test-find-remotes.sh
index bc3888f4..b9ddc604 100755
--- a/tests/test-find-remotes.sh
+++ b/tests/test-find-remotes.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-fsck-collections.sh b/tests/test-fsck-collections.sh
index a8a323c0..79d5d8c9 100755
--- a/tests/test-fsck-collections.sh
+++ b/tests/test-fsck-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-gpg-signed-commit.sh b/tests/test-gpg-signed-commit.sh
index 69f0cb20..992a2ba1 100755
--- a/tests/test-gpg-signed-commit.sh
+++ b/tests/test-gpg-signed-commit.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-gpg-verify-result.c b/tests/test-gpg-verify-result.c
index d95aa2f8..19d6f71e 100644
--- a/tests/test-gpg-verify-result.c
+++ b/tests/test-gpg-verify-result.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-help.sh b/tests/test-help.sh
index 840d6fb6..912e41bc 100755
--- a/tests/test-help.sh
+++ b/tests/test-help.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Owen Taylor <otaylor@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-init-collections.sh b/tests/test-init-collections.sh
index fe78fc97..5c3dd4e2 100755
--- a/tests/test-init-collections.sh
+++ b/tests/test-init-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-keyfile-utils.c b/tests/test-keyfile-utils.c
index bc9a7331..8acd0a1c 100644
--- a/tests/test-keyfile-utils.c
+++ b/tests/test-keyfile-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-libarchive-import.c b/tests/test-libarchive-import.c
index 5559da34..70e221d1 100644
--- a/tests/test-libarchive-import.c
+++ b/tests/test-libarchive-import.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-libarchive.sh b/tests/test-libarchive.sh
index c839ba91..0a51d442 100755
--- a/tests/test-libarchive.sh
+++ b/tests/test-libarchive.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-local-pull-depth.sh b/tests/test-local-pull-depth.sh
index 2dfb735d..7080e121 100755
--- a/tests/test-local-pull-depth.sh
+++ b/tests/test-local-pull-depth.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Dan Nicholson <nicholson@endlessm.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-local-pull.sh b/tests/test-local-pull.sh
index f9ac63b6..8168486c 100755
--- a/tests/test-local-pull.sh
+++ b/tests/test-local-pull.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Alexander Larsson <alexl@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-lzma.c b/tests/test-lzma.c
index b8f5edbc..c3ece965 100644
--- a/tests/test-lzma.c
+++ b/tests/test-lzma.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-mock-gio.c b/tests/test-mock-gio.c
index a5aa023f..71514b06 100644
--- a/tests/test-mock-gio.c
+++ b/tests/test-mock-gio.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-mock-gio.h b/tests/test-mock-gio.h
index d4c62e8d..a96eca22 100644
--- a/tests/test-mock-gio.h
+++ b/tests/test-mock-gio.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-mutable-tree.c b/tests/test-mutable-tree.c
index 43ef9fbd..c03bddba 100644
--- a/tests/test-mutable-tree.c
+++ b/tests/test-mutable-tree.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-oldstyle-partial.sh b/tests/test-oldstyle-partial.sh
index 35344c39..24bbdd49 100755
--- a/tests/test-oldstyle-partial.sh
+++ b/tests/test-oldstyle-partial.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-ot-opt-utils.c b/tests/test-ot-opt-utils.c
index 267d4093..6b01e93b 100644
--- a/tests/test-ot-opt-utils.c
+++ b/tests/test-ot-opt-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-ot-tool-util.c b/tests/test-ot-tool-util.c
index e2b2497d..82b8da6a 100644
--- a/tests/test-ot-tool-util.c
+++ b/tests/test-ot-tool-util.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-ot-unix-utils.c b/tests/test-ot-unix-utils.c
index 2e48b0e3..3847100a 100644
--- a/tests/test-ot-unix-utils.c
+++ b/tests/test-ot-unix-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-parent.sh b/tests/test-parent.sh
index 9abdcf2d..a9a3494c 100755
--- a/tests/test-parent.sh
+++ b/tests/test-parent.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Alexander Larsson <alexl@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-prune-collections.sh b/tests/test-prune-collections.sh
index 823d2805..e034bd90 100755
--- a/tests/test-prune-collections.sh
+++ b/tests/test-prune-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-prune.sh b/tests/test-prune.sh
index 07548822..0f083221 100755
--- a/tests/test-prune.sh
+++ b/tests/test-prune.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-bare.sh b/tests/test-pull-bare.sh
index 18afbe0b..a9eaed6c 100755
--- a/tests/test-pull-bare.sh
+++ b/tests/test-pull-bare.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-bareuser.sh b/tests/test-pull-bareuser.sh
index 2e357234..6bdd304e 100755
--- a/tests/test-pull-bareuser.sh
+++ b/tests/test-pull-bareuser.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-bareuseronly.sh b/tests/test-pull-bareuseronly.sh
index f5c06c4d..a3b23d5b 100755
--- a/tests/test-pull-bareuseronly.sh
+++ b/tests/test-pull-bareuseronly.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-c.c b/tests/test-pull-c.c
index 4541ed90..4d6cd17b 100644
--- a/tests/test-pull-c.c
+++ b/tests/test-pull-c.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-pull-collections.sh b/tests/test-pull-collections.sh
index cc50a3a1..fd782af9 100755
--- a/tests/test-pull-collections.sh
+++ b/tests/test-pull-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-commit-only.sh b/tests/test-pull-commit-only.sh
index ff71d487..caca92fc 100755
--- a/tests/test-pull-commit-only.sh
+++ b/tests/test-pull-commit-only.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-contenturl.sh b/tests/test-pull-contenturl.sh
index 8f703923..4dee0ccc 100755
--- a/tests/test-pull-contenturl.sh
+++ b/tests/test-pull-contenturl.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-corruption.sh b/tests/test-pull-corruption.sh
index 3c8d4c9a..61da575c 100755
--- a/tests/test-pull-corruption.sh
+++ b/tests/test-pull-corruption.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-depth.sh b/tests/test-pull-depth.sh
index 2e82c3a9..1206c6c4 100755
--- a/tests/test-pull-depth.sh
+++ b/tests/test-pull-depth.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-large-metadata.sh b/tests/test-pull-large-metadata.sh
index 219c519e..acf42c76 100755
--- a/tests/test-pull-large-metadata.sh
+++ b/tests/test-pull-large-metadata.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-localcache.sh b/tests/test-pull-localcache.sh
index 44403f92..3de1e5ab 100755
--- a/tests/test-pull-localcache.sh
+++ b/tests/test-pull-localcache.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-metalink.sh b/tests/test-pull-metalink.sh
index 7dbc4bf0..263d29b4 100755
--- a/tests/test-pull-metalink.sh
+++ b/tests/test-pull-metalink.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-mirror-summary.sh b/tests/test-pull-mirror-summary.sh
index 71f917fc..cc3c6a2c 100755
--- a/tests/test-pull-mirror-summary.sh
+++ b/tests/test-pull-mirror-summary.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-mirrorlist.sh b/tests/test-pull-mirrorlist.sh
index 93b97eec..4e44852d 100755
--- a/tests/test-pull-mirrorlist.sh
+++ b/tests/test-pull-mirrorlist.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-override-url.sh b/tests/test-pull-override-url.sh
index 6b72440f..db93839b 100755
--- a/tests/test-pull-override-url.sh
+++ b/tests/test-pull-override-url.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-repeated.sh b/tests/test-pull-repeated.sh
index 30d0e03b..f43f720f 100755
--- a/tests/test-pull-repeated.sh
+++ b/tests/test-pull-repeated.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-resume.sh b/tests/test-pull-resume.sh
index c6d268f4..8fa4a298 100755
--- a/tests/test-pull-resume.sh
+++ b/tests/test-pull-resume.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-subpath.sh b/tests/test-pull-subpath.sh
index eb103004..3bf89aff 100755
--- a/tests/test-pull-subpath.sh
+++ b/tests/test-pull-subpath.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-summary-sigs.sh b/tests/test-pull-summary-sigs.sh
index b6b17500..c6d04f41 100755
--- a/tests/test-pull-summary-sigs.sh
+++ b/tests/test-pull-summary-sigs.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull-untrusted.sh b/tests/test-pull-untrusted.sh
index 5e35c1c3..4c972599 100755
--- a/tests/test-pull-untrusted.sh
+++ b/tests/test-pull-untrusted.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2014 Alexander Larsson <alexl@redhat.com>
# Copyright (C) 2018 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-pull2-bareuseronly.sh b/tests/test-pull2-bareuseronly.sh
index 59875442..18614250 100755
--- a/tests/test-pull2-bareuseronly.sh
+++ b/tests/test-pull2-bareuseronly.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-refs-collections.sh b/tests/test-refs-collections.sh
index 5e6b50d7..9a123dd9 100755
--- a/tests/test-refs-collections.sh
+++ b/tests/test-refs-collections.sh
@@ -3,6 +3,8 @@
# Copyright © 2016 Red Hat, Inc.
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-refs.sh b/tests/test-refs.sh
index 316e3e10..50862d76 100755
--- a/tests/test-refs.sh
+++ b/tests/test-refs.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-remote-add-collections.sh b/tests/test-remote-add-collections.sh
index 23deaa8e..b82a13a6 100755
--- a/tests/test-remote-add-collections.sh
+++ b/tests/test-remote-add-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-remote-add.sh b/tests/test-remote-add.sh
index 01864b6a..9aa5c6a2 100755
--- a/tests/test-remote-add.sh
+++ b/tests/test-remote-add.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-remote-cookies.sh b/tests/test-remote-cookies.sh
index 352bd7f6..74e30cb5 100755
--- a/tests/test-remote-cookies.sh
+++ b/tests/test-remote-cookies.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
# Copyright (C) 2016 Sjoerd Simons <sjoerd@luon.net>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-remote-gpg-import.sh b/tests/test-remote-gpg-import.sh
index 7f5423a6..f816429c 100755
--- a/tests/test-remote-gpg-import.sh
+++ b/tests/test-remote-gpg-import.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-remote-headers.sh b/tests/test-remote-headers.sh
index 39fbe352..6ba612c0 100755
--- a/tests/test-remote-headers.sh
+++ b/tests/test-remote-headers.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-remotes-config-dir.js b/tests/test-remotes-config-dir.js
index 7b6585c9..8cd61844 100755
--- a/tests/test-remotes-config-dir.js
+++ b/tests/test-remotes-config-dir.js
@@ -3,6 +3,8 @@
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
// Copyright (C) 2017 Dan Nicholson <nicholson@endlessm.com>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// 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
diff --git a/tests/test-repo-finder-avahi.c b/tests/test-repo-finder-avahi.c
index 7788f67f..4c9c66e0 100644
--- a/tests/test-repo-finder-avahi.c
+++ b/tests/test-repo-finder-avahi.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-repo-finder-config.c b/tests/test-repo-finder-config.c
index 7eff53d2..61d49b48 100644
--- a/tests/test-repo-finder-config.c
+++ b/tests/test-repo-finder-config.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-repo-finder-mount-integration.sh b/tests/test-repo-finder-mount-integration.sh
index 33959af2..283e4b0b 100755
--- a/tests/test-repo-finder-mount-integration.sh
+++ b/tests/test-repo-finder-mount-integration.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-repo-finder-mount.c b/tests/test-repo-finder-mount.c
index 6722f2db..948a3245 100644
--- a/tests/test-repo-finder-mount.c
+++ b/tests/test-repo-finder-mount.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-repo.c b/tests/test-repo.c
index dc87111b..edccef59 100644
--- a/tests/test-repo.c
+++ b/tests/test-repo.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-reset-nonlinear.sh b/tests/test-reset-nonlinear.sh
index 65e7505e..dca1be94 100755
--- a/tests/test-reset-nonlinear.sh
+++ b/tests/test-reset-nonlinear.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-rofiles-fuse.sh b/tests/test-rofiles-fuse.sh
index 1c91a5cd..7b7474d0 100755
--- a/tests/test-rofiles-fuse.sh
+++ b/tests/test-rofiles-fuse.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-rollsum-cli.c b/tests/test-rollsum-cli.c
index 20947ead..6e5f9f4f 100644
--- a/tests/test-rollsum-cli.c
+++ b/tests/test-rollsum-cli.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-rollsum.c b/tests/test-rollsum.c
index 1164b266..08c78b66 100644
--- a/tests/test-rollsum.c
+++ b/tests/test-rollsum.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-sizes.js b/tests/test-sizes.js
index 71e76515..5114dd64 100755
--- a/tests/test-sizes.js
+++ b/tests/test-sizes.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// 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
diff --git a/tests/test-summary-collections.sh b/tests/test-summary-collections.sh
index d12100ba..22921f53 100755
--- a/tests/test-summary-collections.sh
+++ b/tests/test-summary-collections.sh
@@ -3,6 +3,8 @@
# Copyright © 2016 Red Hat, Inc.
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-summary-update.sh b/tests/test-summary-update.sh
index 60228114..faa54e38 100755
--- a/tests/test-summary-update.sh
+++ b/tests/test-summary-update.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-summary-view.sh b/tests/test-summary-view.sh
index 6e421079..a5ddf93e 100755
--- a/tests/test-summary-view.sh
+++ b/tests/test-summary-view.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-symbols.sh b/tests/test-symbols.sh
index 02facd2c..18bd085d 100755
--- a/tests/test-symbols.sh
+++ b/tests/test-symbols.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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
diff --git a/tests/test-sysroot-c.c b/tests/test-sysroot-c.c
index 7cf30d1f..4e51216c 100644
--- a/tests/test-sysroot-c.c
+++ b/tests/test-sysroot-c.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-sysroot.js b/tests/test-sysroot.js
index e7250a8c..d27c6e1d 100755
--- a/tests/test-sysroot.js
+++ b/tests/test-sysroot.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// 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
diff --git a/tests/test-varint.c b/tests/test-varint.c
index 311348df..605b7432 100644
--- a/tests/test-varint.c
+++ b/tests/test-varint.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* 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
diff --git a/tests/test-xattrs.sh b/tests/test-xattrs.sh
index 5ec0cba8..e2a192a9 100755
--- a/tests/test-xattrs.sh
+++ b/tests/test-xattrs.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# 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