nixpkgs/nixos/tests
aszlig a3ac630092
nixos/tests: Add a test for keyboard layouts
I had the basic version of this laying around for some while but didn't
continue on it. Originally it was for testing support for the Neo layout
introduced back then (8cd6d53).

We only test the first three Neo layers, because the last three layers
are largely comprised of special characters and in addition to that the
support for the VT keymap seems to be limited compared to the Xorg
keymap.

Yesterday @NicolasPetton on IRC had troubles with the Colemak layout
(IRC logs: http://nixos.org/irc/logs/log.20160330, starting at 16:08)
and I found that test again, so I went for improving and adding to
<nixpkgs>.

While the original problem seemed to be related to GDM, we can still add
another subtest that checks whether GDM correctly applies the keyboard
layout. However I don't have a clue how to properly configure the
keyboard layout on GDM, at least not within the NixOS configuration.

The main goal of this test is not to test a complete set of all key
mappings but to check whether the keymap is loaded and working at all.

It also serves as an example for NixOS keyboard configurations.

The list of keyboard layouts is by no means complete, so everybody is
free to add their own to the test or improve the existing ones.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-03-31 09:49:08 +02:00
..
common Remove fixed uid in tests 2015-05-13 16:23:57 +02:00
avahi.nix avahi: fix test 2016-02-28 16:18:39 +01:00
bittorrent.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
blivet.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
boot.nix nixos/tests: Remove tests.boot.boot* prefixes 2016-03-01 19:02:36 +01:00
cadvisor.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
chromium.nix nixos/tests/chromium: Propagate "system" to pkgs 2016-03-21 03:50:38 +01:00
cjdns.nix Rename 'emery' maintainer handle to 'ehmry', fixes #11493 2015-12-05 23:06:20 +01:00
containers.nix Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
dnscrypt-proxy.nix dnscrypt-proxy vmtest: more specific waitForUnit 2016-03-24 17:14:22 +01:00
docker-registry.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
docker.nix nixos/tests: fix docker test 2016-03-19 03:18:17 +01:00
ec2.nix Fix the boot-ec2-config test 2016-03-30 22:22:40 +02:00
etcd.nix etcd service: fix tests 2015-09-06 14:44:13 +02:00
firefox.nix Fix tests that use the Valgrind docs 2015-08-28 13:27:51 +02:00
firewall.nix nixos/tests/firewall.nix: ping now succeeds in the firewall's default configuration 2016-03-18 11:44:07 +01:00
fleet.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
gitlab.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
gnome3-gdm.nix nixos tests: add gdm test 2015-09-15 14:25:36 +02:00
gnome3.nix gnome3 test: increase timeout 2015-10-05 22:10:40 -06:00
grsecurity.nix grsecurity: add NixOS VM test 2016-01-24 04:06:19 +00:00
haka.nix haka: very basic testing 2016-01-23 01:20:14 +01:00
i3wm.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
influxdb.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
initrd-network.nix boot.initrd.network: Support DHCP 2016-02-02 19:59:27 +01:00
installer.nix nixos.tests.installer.swraid: mdadm verbosity 2016-03-28 14:00:00 -05:00
ipv6.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
jenkins.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
kde4.nix Fix tests that use the Valgrind docs 2015-08-28 13:27:51 +02:00
kexec.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
keymap.nix nixos/tests: Add a test for keyboard layouts 2016-03-31 09:49:08 +02:00
kubernetes.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
lightdm.nix nixos/tests/lightdm: Drop "session" screenshot. 2015-08-20 12:57:40 +02:00
login.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
logstash.nix logstash service: fix tests 2015-09-06 15:20:56 +02:00
make-test.nix Add filesystem option to automatically grow to the maximum size 2015-09-24 19:59:44 +02:00
mathics.nix nixos/mathics: New service and test 2016-01-02 14:34:55 -08:00
mesos.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
misc.nix nixos/tests: implement a trivial test for sudo 2016-03-25 06:33:11 +01:00
mpich-example.c
mpich.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
mumble.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
munin.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
mysql-replication.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
mysql.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
nat.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
networking-proxy.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
networking.nix nixos/tests/networking: Expose subtests via attrs 2016-03-01 01:04:42 +01:00
nfs.nix filesystems: use list of strings for fs options 2016-02-06 19:48:30 +00:00
nsd.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
openssh.nix nixos/tests/openssh: Fix test by using safe public keys 2015-08-12 11:16:26 -07:00
panamax.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
partition.nix btrfsProgs -> canonical btrfs-progs 2016-01-03 20:38:44 +01:00
peerflix.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
phabricator.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
postgresql.nix nixos: add test for postgresql, fixes #11146 2016-01-20 03:42:59 +01:00
printing.nix nixos.tests.printing: fix for new CUPS version 2016-02-22 12:42:06 +03:00
proxy.nix Make proxy test more robust 2015-08-31 18:36:32 +02:00
pump.io.nix nixos tests: pump.io: init 2015-12-06 13:35:21 +00:00
quake3.nix nixos/tests/quake3: Don't quote +set arguments 2016-01-16 01:13:36 +01:00
rabbitmq.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
riak.nix remove elrangR15 and riak 1.3.0 as they're outdated 2016-03-22 21:40:07 +00:00
run-in-machine.nix Fix tests.runInMachine evaluation 2014-11-04 14:28:09 +01:00
sddm-kde5.nix nixos/tests: test SDDM with KDE 5 enabled 2015-12-11 07:09:08 -06:00
sddm.nix add nixos/tests/sddm 2015-11-23 06:39:19 -06:00
simple.nix nixos/tests/simple.nix: Include minimal.nix 2016-02-12 14:35:41 +01:00
slurm.nix slurm service: add tests 2015-12-25 15:55:07 +01:00
subversion.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
test-config-examples.sh
testdb.sql
tomcat.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
trac.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
udisks2.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
virtualbox.nix nixos/tests/virtualbox: Split up subtests 2016-02-29 20:15:31 +01:00
xfce.nix all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00