grub2/debian/patches/skip_gettext_strings_test.patch
Colin Watson ce942da8e7 Fix format-overflow warning with GCC 7
The overflow was in fact impossible in practice because the int
parameter is only ever 0, 1, or 2, but GCC couldn't prove that.
2018-03-16 11:00:46 +00:00

29 lines
758 B
Diff

From e3ef14b4a42ee06514e281f7ab136cd0c1c938e8 Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@ubuntu.com>
Date: Mon, 13 Jan 2014 12:13:34 +0000
Subject: Don't run gettext_strings_test
This test is mainly useful as an upstream maintenance check.
Forwarded: not-needed
Last-Update: 2013-12-23
Patch-Name: skip_gettext_strings_test.patch
---
tests/gettext_strings_test.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/gettext_strings_test.in b/tests/gettext_strings_test.in
index 5c305e75b..15405cfcd 100644
--- a/tests/gettext_strings_test.in
+++ b/tests/gettext_strings_test.in
@@ -1,5 +1,8 @@
#!/bin/sh
+echo "Skipping upstream maintenance check."
+exit 77
+
cd '@srcdir@'
tdir="$(mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX")"