[kernel] r22043 - dists/sid/linux/debian/bin

Ben Hutchings benh at moszumanska.debian.org
Thu Nov 6 00:20:19 UTC 2014


Author: benh
Date: Thu Nov  6 00:20:18 2014
New Revision: 22043

Log:
check-patches.sh: Validate Forwarded value slightly better

Don't confuse 'no' with 'not-needed'.

Don't accept values other than 'no', 'not-needed' and URLs which we
assume must begin with 'http'.

Modified:
   dists/sid/linux/debian/bin/check-patches.sh

Modified: dists/sid/linux/debian/bin/check-patches.sh
==============================================================================
--- dists/sid/linux/debian/bin/check-patches.sh	Thu Nov  6 00:15:27 2014	(r22042)
+++ dists/sid/linux/debian/bin/check-patches.sh	Thu Nov  6 00:20:18 2014	(r22043)
@@ -19,8 +19,8 @@
 echo
 echo "Patches without Origin or Forwarded header"
 echo "=========================================="
-xargs egrep -L '^(Origin|Forwarded):' < $TMPDIR/used || test $? = 1
+xargs egrep -L '^(Origin:|Forwarded: (no\b|not-needed|http))' < $TMPDIR/used || test $? = 1
 echo
 echo "Patches to be forwarded"
 echo "======================="
-xargs egrep -l '^Forwarded: no' < $TMPDIR/used | grep -v ^debian/patches/debian/ || test $? = 1
+xargs egrep -l '^Forwarded: no\b' < $TMPDIR/used || test $? = 1



More information about the Kernel-svn-changes mailing list