aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/tests/testShortDescriptions
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkeyboard-config/tests/testShortDescriptions')
-rw-r--r--xorg-server/xkeyboard-config/tests/testShortDescriptions6
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/tests/testShortDescriptions b/xorg-server/xkeyboard-config/tests/testShortDescriptions
new file mode 100644
index 000000000..c05299e97
--- /dev/null
+++ b/xorg-server/xkeyboard-config/tests/testShortDescriptions
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+awk '/shortDescr/{print toupper($0)}' ../rules/base.xml.in | sed 's/<[^>]*>//g;s/ //g' | sort | uniq > xml.sd
+awk '{print $1}' ../docs/iso3166-3.csv | sort > iso.sd
+diff -u iso.sd xml.sd | grep '+'
+