[debian-edu-commits] debian-edu/ 12/15: Drop unused (and nowadays useless) testsuite/keyboard-console script.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sun Feb 4 11:37:18 UTC 2018


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-config.

commit 889df5ccb44b7f8fbe799a258c97495e3c8d611a
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sun Feb 4 12:27:19 2018 +0100

    Drop unused (and nowadays useless) testsuite/keyboard-console script.
---
 testsuite/keyboard-console | 86 ----------------------------------------------
 1 file changed, 86 deletions(-)

diff --git a/testsuite/keyboard-console b/testsuite/keyboard-console
deleted file mode 100755
index 1e0f271..0000000
--- a/testsuite/keyboard-console
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh -e
-#
-# Test if console keyboard is correct.
-
-# This test will never succeed, because the console-data package will
-# first load the keyboard definition into the kernel, and then run
-# dumpkeys and save the content into /etc/console/boottime.kmap.gz.
-# The generated file will never look like the file in
-# /usr/share/keymaps.
-
-exit 0
-
-if test -r /etc/debian-edu/config ; then
-    . /etc/debian-edu/config
-fi
-
-curmap=/etc/console/boottime.kmap.gz
-
-if test ! -f $curmap ; then
-    echo "error: $0: No console keymap in '$curmap'."
-    exit 1
-fi
-
-map_locale_to_keyboard() {
-##
-# mapname should be the path under /usr/share/keymaps to the right keymap
-##
-    case "$1" in
-	ca*|es*)
-	    mapname="i386/qwerty/es"
-	    ;;
-	da*)
-	    mapname="i386/qwerty/dk-latin1"
-	    ;;
-	de*)
-	    mapname="i386/qwertz/de-latin1-nodeadkeys"
-	    ;;
-	fr_FR*)
-	    mapname="i386/azerty/fr-latin1"
-	    ;;
-	fi*)
-	    mapname="i386/qwerty/fi-latin1"
-	    ;;
-#	it*)
-#	    mapname="i386/qwerty/it"
-#	    ;;
-#	lv*)
-#	    mapname="i386/qwerty/lv-latin7"
-#	    ;;
-	nb*|no*|nn*|se*)
-	    mapname="i386/qwerty/no-latin1"
-	    ;;
-	nds_DE)
-	    mapname="i386/qwertz/de-latin1-nodeadkeys"
-	    ;;
-	nl_BE*|fr_BE*)
-	    mapname="i386/azerty/be-latin1"
-	    ;;
-	nl_NL*)
-	    mapname="i386/qwerty/nl"
-	    ;;
-	    
-	pl_PL*)
-	    mapname="i386/qwerty/pl"
-	    ;;
-	sv*)
-	    mapname="i386/qwerty/se-latin1"
-	    ;;
-	*)
-	    # Accept the existing value if the default language is unspecified
-	    keymap="$curmap"
-	    ;;
-    esac
-}
-
-map_locale_to_keyboard "$LOCALE"
-
-if test -z "$keymap" ; then
-    keymap="/usr/share/keymaps/$mapname.kmap.gz"
-fi
-
-if cmp "$curmap" "$keymap" > /dev/null 2>&1 ; then
-    echo "success: $0: Current console keymap is identical to '$keymap'."
-else
-    echo "error: $0: Current console keymap do not match '$keymap'."
-fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list