nixpkgs-suyu/nixos/tests
aszlig cd10e3c4ff
nixos/tests/chromium: Run tests as normal user
The tests have failed because Chromium has started up displaying the
following error message in a dialog window:

  Chromium can not be run as root.

  Please start Chromium as a normal user. If you need to run as root for
  development, rerun with the --no-sandbox flag.

So let's run as user "alice" and pass all commands using the small
helper function "ru" (to keep it short, it's for "Run as User").

Tested it by running the "stable" test on x86_64-linux.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: @globin
2017-02-07 07:36:56 +01:00
..
common Add a regression test for #14623 2016-04-12 19:13:52 +02:00
avahi.nix avahi: fix test 2016-02-28 16:18:39 +01:00
bittorrent.nix tests.bittorrent: use a file instead of a directory 2017-01-26 02:44:05 +01:00
blivet.nix blivet test: use python2 2016-11-24 22:28:03 +01:00
boot-stage1.nix tests/boot-stage1: Use runCommandCC for kcanary 2016-10-09 14:15:19 +02:00
boot.nix nixos/tests/boot.nix: Remove empty module 2016-05-25 11:39:17 +02:00
cadvisor.nix cadvisor test: fix (#18671) 2016-09-16 22:06:16 +02:00
cassandra.nix cassandra service: init 2016-08-02 20:58:35 -04:00
chromium.nix nixos/tests/chromium: Run tests as normal user 2017-02-07 07:36:56 +01:00
cjdns.nix cjdns test: fix typo 2016-11-15 01:57:30 +01:00
containers-bridge.nix containers: add myself to the maintainers of the tests 2016-07-28 23:06:41 +02:00
containers-extra_veth.nix containers: add myself to the maintainers of the tests 2016-07-28 23:06:41 +02:00
containers-hosts.nix containers: fix broken /etc/hosts entries when localAddress contains a netmask 2016-12-12 09:20:28 +01:00
containers-imperative.nix containers: add myself to the maintainers of the tests 2016-07-28 23:06:41 +02:00
containers-ipv4.nix containers: add myself to the maintainers of the tests 2016-07-28 23:06:41 +02:00
containers-ipv6.nix containers: add myself to the maintainers of the tests 2016-07-28 23:06:41 +02:00
containers-macvlans.nix Add macvlan support for declarative containers 2016-12-12 07:34:28 +01:00
containers-physical_interfaces.nix containers: Improve device dependency tracking 2016-10-08 22:28:49 +02:00
containers-tmpfs.nix containers module: Add tmpfs options (#20557) 2016-11-22 02:11:33 +01:00
dnscrypt-proxy.nix dnscrypt-proxy test: simplification 2016-11-05 17:45:02 +01:00
docker-registry.nix docker: update service units from upstream 2016-12-23 21:39:38 +01:00
docker.nix docker module: updates 2016-09-13 12:51:13 +02:00
ec2.nix Fix the boot-ec2-config test 2016-03-30 22:22:40 +02:00
ecryptfs.nix ecryptfs test: use TTY output to stabilize test 2016-12-02 19:36:27 -05:00
emacs-daemon.nix Remove myself from maintainers 2017-01-31 11:00:14 +01:00
etcd-cluster.nix etcd-cluster: split up openssl commands 2016-09-03 13:59:28 +02:00
etcd.nix etcd module: add test for simple one node etcd service 2016-08-25 14:42:22 +02:00
ferm.nix ferm: fix race condition in integration test (#18288) 2016-09-04 14:34:06 +02:00
firefox.nix
firewall.nix nixos: Fix ordering of firewall.service 2016-09-07 15:11:24 +02:00
flannel.nix flannel service: init 2016-10-01 17:08:48 +02:00
fleet.nix
gitlab.nix rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
glance.nix nixos/glance: add test 2016-12-31 09:36:57 +01:00
gnome3-gdm.nix Fix X11 tests broken by the removal of -ac 2016-04-12 19:13:47 +02:00
gnome3.nix nixos/tests/gnome3.nix: Speed up test 2016-12-29 16:23:31 +01:00
gocd-agent.nix gocd-agent / gocd-server: Reduce test memory requirements so Hydra builds 2016-08-10 16:21:35 -04:00
gocd-server.nix gocd-agent / gocd-server: Reduce test memory requirements so Hydra builds 2016-08-10 16:21:35 -04:00
grsecurity.nix grsecurity test: refactoring 2016-12-13 15:12:11 +01:00
haka.nix haka: very basic testing 2016-01-23 01:20:14 +01:00
hibernate.nix netcat: make netcat-openbsd the default netcat (#19411) 2016-10-30 15:06:04 +01:00
hound.nix hound: init module 2016-10-15 13:54:59 -04:00
i3wm.nix Fix X11 tests broken by the removal of -ac 2016-04-12 19:13:47 +02:00
influxdb.nix cadvisor test: fix (#18671) 2016-09-16 22:06:16 +02:00
initrd-network.nix boot.initrd.network: Support DHCP 2016-02-02 19:59:27 +01:00
installer.nix tests.installer: rely on swap.target in tests 2017-01-25 17:00:13 +01:00
ipfs.nix tests: added basic ipfs test 2016-11-28 15:33:58 +01:00
ipv6.nix
jenkins.nix rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
kde4.nix rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
kde5.nix Work around slowness in the KDE 5 test 2016-12-21 19:30:35 -05:00
kexec.nix
keymap.nix nixos/tests: Add a test for keyboard layouts 2016-03-31 09:49:08 +02:00
keystone.nix nixos/keystone: add test in release.nix 2016-12-16 20:53:32 +01:00
kubernetes.nix kubernetes vm test: make dig and netcat available 2017-01-15 13:28:16 +01:00
leaps.nix leaps: 0.5.1 + add a service + test 2016-11-06 10:34:42 +01:00
lightdm.nix Fix X11 tests broken by the removal of -ac 2016-04-12 19:13:47 +02:00
login.nix login test: Create and use direct reads of the TTY contents. 2016-11-30 00:17:18 -05:00
logstash.nix logstash: fix test 2016-10-01 23:18:24 +02:00
make-test.nix
mathics.nix nixos/mathics: New service and test 2016-01-02 14:34:55 -08:00
mesos.nix mesos: 1.0.1 -> 1.1.0 2016-12-29 20:09:46 -05:00
mesos_test.py mesos: 1.0.1 -> 1.1.0 2016-12-29 20:09:46 -05:00
misc.nix nixos: add optional process information hiding 2016-04-10 12:27:06 +02:00
mongodb.nix mongodb service: add test case 2016-09-17 10:47:36 +01:00
mpich-example.c
mumble.nix mumble: fix failing vm tests 2016-09-13 09:45:08 +02:00
munin.nix rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
mysql-replication.nix mysql: fix replication tests (#17174) 2016-07-23 00:37:05 +02:00
mysql.nix mysql: fix replication tests (#17174) 2016-07-23 00:37:05 +02:00
nat.nix nixos/tests/nat: add test for conntrack helper autoloading 2017-01-25 01:14:05 +01:00
networking-proxy.nix
networking.nix networking test: test IPv6 with RA and DHCPv6 2017-01-15 19:53:17 +03:00
nfs.nix nfs tests: fix nfs server unit name 2017-02-05 12:41:21 +03:00
nsd.nix
openssh.nix openssh: test that startWhenNeeded works 2016-12-29 17:04:52 -05:00
panamax.nix
partition.nix btrfsProgs -> canonical btrfs-progs 2016-01-03 20:38:44 +01:00
peerflix.nix
phabricator.nix
postgis.nix postgresql: Fix use with extensions 2016-09-02 11:51:21 +02:00
postgresql.nix nixos: add test for postgresql, fixes #11146 2016-01-20 03:42:59 +01:00
printing.nix rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
prometheus.nix nixos: unbreak prometheus test 2016-12-20 23:26:51 +01:00
proxy.nix
pump.io.nix pump.io test: adapt mongodb extraConf to YAML 2016-09-18 09:30:04 +09:00
quagga.nix quagga test: Add test for the quagga service. 2016-09-02 14:00:32 +03:00
quake3.nix rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
rabbitmq.nix
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
samba.nix Add a simple test for Samba 2016-09-30 21:24:18 +02:00
sddm.nix nixos: Disable OCR for tests that do not use it 2016-12-19 22:25:42 +01: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
smokeping.nix smokeping module: fix missing js, broken alerts 2016-10-08 20:52:45 -04:00
subversion.nix
taskserver.nix nixos/taskserver/helper: Improve CLI subcommands 2016-04-12 05:38:37 +02:00
testdb.sql
tomcat.nix Remove tomcat vm test timing issues 2016-09-13 22:46:46 +02:00
trac.nix
udisks2.nix
virtualbox.nix netcat: make netcat-openbsd the default netcat (#19411) 2016-10-30 15:06:04 +01:00
wordpress.nix wordpress: 4.3.1 -> 4.6.1 + add a test 2016-09-26 19:36:07 -04:00
xfce.nix Add a regression test for #14623 2016-04-12 19:13:52 +02:00