hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/testing/selftests/rcutorture/bin/configcheck.sh
....@@ -1,23 +1,11 @@
11 #!/bin/bash
2
+# SPDX-License-Identifier: GPL-2.0+
3
+#
24 # Usage: configcheck.sh .config .config-template
3
-#
4
-# This program is free software; you can redistribute it and/or modify
5
-# it under the terms of the GNU General Public License as published by
6
-# the Free Software Foundation; either version 2 of the License, or
7
-# (at your option) any later version.
8
-#
9
-# This program is distributed in the hope that it will be useful,
10
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
-# GNU General Public License for more details.
13
-#
14
-# You should have received a copy of the GNU General Public License
15
-# along with this program; if not, you can access it online at
16
-# http://www.gnu.org/licenses/gpl-2.0.html.
175 #
186 # Copyright (C) IBM Corporation, 2011
197 #
20
-# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
8
+# Authors: Paul E. McKenney <paulmck@linux.ibm.com>
219
2210 T=${TMPDIR-/tmp}/abat-chk-config.sh.$$
2311 trap 'rm -rf $T' 0
....@@ -26,6 +14,7 @@
2614 cat $1 > $T/.config
2715
2816 cat $2 | sed -e 's/\(.*\)=n/# \1 is not set/' -e 's/^#CHECK#//' |
17
+grep -v '^CONFIG_INITRAMFS_SOURCE' |
2918 awk '
3019 {
3120 print "if grep -q \"" $0 "\" < '"$T/.config"'";