From 4c31e6d56a366a2d93b9bf2698c66ad6e38139c5 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 14 Nov 2024 17:55:34 +0100 Subject: [PATCH] test: shellcheck: add shell directive Also add forgotten standard copyright message with shell reference. --- test/shell/autoactivation-metadata.sh | 13 ++++++++++++- test/shell/vgchange-pvs-online.sh | 12 ++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/test/shell/autoactivation-metadata.sh b/test/shell/autoactivation-metadata.sh index 630ccd52b..edf6575a1 100644 --- a/test/shell/autoactivation-metadata.sh +++ b/test/shell/autoactivation-metadata.sh @@ -1,3 +1,15 @@ +#!/usr/bin/env bash + +# Copyright (C) 2021 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU General Public License v.2. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + SKIP_WITH_LVMPOLLD=1 SKIP_WITH_LVMLOCKD=1 @@ -335,4 +347,3 @@ vgchange -an $vg _clear_online_files vgremove -y $vg - diff --git a/test/shell/vgchange-pvs-online.sh b/test/shell/vgchange-pvs-online.sh index 7bcc8676d..a2e2cba02 100644 --- a/test/shell/vgchange-pvs-online.sh +++ b/test/shell/vgchange-pvs-online.sh @@ -1,3 +1,15 @@ +#!/usr/bin/env bash + +# Copyright (C) 2021 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU General Public License v.2. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + SKIP_WITH_LVMPOLLD=1 SKIP_WITH_LVMLOCKD=1