aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-07-17 16:06:48 -0400
committerWilliam Hua <william.hua@canonical.com>2013-07-17 16:06:48 -0400
commit5377714002d666ded4e24d910da230e42fd8b5be (patch)
treed08059452cc5f4e13367eb4765b536f3556c3a01 /debian
parent08943a8034414894b2835d83f40fc6ae46e46feb (diff)
downloadayatana-indicator-keyboard-5377714002d666ded4e24d910da230e42fd8b5be.tar.gz
ayatana-indicator-keyboard-5377714002d666ded4e24d910da230e42fd8b5be.tar.bz2
ayatana-indicator-keyboard-5377714002d666ded4e24d910da230e42fd8b5be.zip
Relax test that fails when IBus runs headless.
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/relax-test-missing-ibus.patch11
-rw-r--r--debian/patches/series1
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/relax-test-missing-ibus.patch b/debian/patches/relax-test-missing-ibus.patch
new file mode 100644
index 00000000..5b384579
--- /dev/null
+++ b/debian/patches/relax-test-missing-ibus.patch
@@ -0,0 +1,11 @@
+--- a/tests/main.vala
++++ b/tests/main.vala
+@@ -648,7 +648,7 @@
+ section.get_item_attribute (2, Menu.ATTRIBUTE_LABEL, "s", out label);
+ assert (strcmp (label, "Esperanto") == 0);
+ section.get_item_attribute (3, Menu.ATTRIBUTE_LABEL, "s", out label);
+- assert (strcmp (label, "Pinyin") == 0);
++ assert (label.ascii_casecmp ("Pinyin") == 0);
+ }
+
+ public int main (string[] args) {
diff --git a/debian/patches/series b/debian/patches/series
index 83bb2430..2a60b05c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
default-icon-colour.patch
disable-experimental-non-null.patch
+relax-test-missing-ibus.patch