nixpkgs/nixos
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
..
doc/manual postfix service: don't empty local_recipient_maps 2017-02-06 01:41:27 +03:00
lib test-driver: support punctuation in sendChars 2017-01-08 09:17:05 -05:00
maintainers Create AMIs for eu-west-2 (London) 2017-01-17 21:44:01 +01:00
modules nixos/networkd: Fix eval error for defaultGateway 2017-02-07 07:05:31 +01:00
tests nixos/tests/chromium: Run tests as normal user 2017-02-07 07:36:56 +01:00
COPYING
default.nix nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
README
release-combined.nix nixos/tests/kde5: rename from sddm-kde5 and run by default 2016-09-09 10:12:38 -05:00
release-small.nix nixos/release-small.nix: cleanup to use default versions 2017-01-27 15:33:54 +01:00
release.nix nixos/tests/nat: add test for conntrack helper autoloading 2017-01-25 01:14:05 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.