Some of shell-based tests and virt-xml-validate
use GPL-2.0-or-later.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
tests/virsh-auth | 14 +-------------
tests/virsh-checkpoint | 14 +-------------
tests/virsh-cpuset | 14 +-------------
tests/virsh-optparse | 14 +-------------
tests/virsh-read-bufsiz | 14 +-------------
tests/virsh-read-non-seekable | 14 +-------------
tests/virsh-schedinfo | 14 +-------------
tests/virsh-self-test | 14 +-------------
tests/virsh-snapshot | 14 +-------------
tests/virsh-start | 14 +-------------
tests/virsh-vcpupin | 14 +-------------
tools/virt-xml-validate.in | 13 +------------
12 files changed, 12 insertions(+), 155 deletions(-)
diff --git a/tests/virsh-auth b/tests/virsh-auth
index d548694190..af1b191260 100755
--- a/tests/virsh-auth
+++ b/tests/virsh-auth
@@ -3,19 +3,7 @@
# Copyright (C) 2020 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
import os
import os.path
diff --git a/tests/virsh-checkpoint b/tests/virsh-checkpoint
index 92962d2205..2cf2f55341 100755
--- a/tests/virsh-checkpoint
+++ b/tests/virsh-checkpoint
@@ -3,19 +3,7 @@
# Copyright (C) 2019 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-cpuset b/tests/virsh-cpuset
index 66163013c2..c2a569af35 100755
--- a/tests/virsh-cpuset
+++ b/tests/virsh-cpuset
@@ -3,19 +3,7 @@
# Copyright (C) 2008-2009 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-optparse b/tests/virsh-optparse
index fed71a8509..49fdf2fba2 100755
--- a/tests/virsh-optparse
+++ b/tests/virsh-optparse
@@ -3,19 +3,7 @@
# Copyright (C) 2011-2012, 2014 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-read-bufsiz b/tests/virsh-read-bufsiz
index 116eff1c4c..aba4382773 100755
--- a/tests/virsh-read-bufsiz
+++ b/tests/virsh-read-bufsiz
@@ -3,19 +3,7 @@
# Copyright (C) 2008, 2010 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-read-non-seekable b/tests/virsh-read-non-seekable
index 0f7504c800..6db6924841 100755
--- a/tests/virsh-read-non-seekable
+++ b/tests/virsh-read-non-seekable
@@ -3,19 +3,7 @@
# Copyright (C) 2008 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-schedinfo b/tests/virsh-schedinfo
index e4e2509f76..eb476e9628 100755
--- a/tests/virsh-schedinfo
+++ b/tests/virsh-schedinfo
@@ -3,19 +3,7 @@
# Copyright (C) 2010-2011, 2013 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-self-test b/tests/virsh-self-test
index 22396bceee..442aee82a0 100755
--- a/tests/virsh-self-test
+++ b/tests/virsh-self-test
@@ -3,19 +3,7 @@
# Copyright (C) 2016 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-snapshot b/tests/virsh-snapshot
index 473e3b3f2d..ecbbf68d63 100755
--- a/tests/virsh-snapshot
+++ b/tests/virsh-snapshot
@@ -3,19 +3,7 @@
# Copyright (C) 2019 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-start b/tests/virsh-start
index cb58c3b09c..a49a35a47e 100755
--- a/tests/virsh-start
+++ b/tests/virsh-start
@@ -3,19 +3,7 @@
# Copyright (C) 2008 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tests/virsh-vcpupin b/tests/virsh-vcpupin
index 306552a8f4..1e1d7f937e 100755
--- a/tests/virsh-vcpupin
+++ b/tests/virsh-vcpupin
@@ -3,19 +3,7 @@
# Copyright (C) 2008 Red Hat, Inc.
-# 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.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
. "$(dirname $0)/test-lib.sh"
diff --git a/tools/virt-xml-validate.in b/tools/virt-xml-validate.in
index 249bcf7eef..47d6d79c4d 100644
--- a/tools/virt-xml-validate.in
+++ b/tools/virt-xml-validate.in
@@ -1,17 +1,6 @@
#!/bin/sh
#
-# 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.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <
http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
set -e
--
2.26.2