Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e76c8ac44e3636d90f28e069449f996bd3b9b18a
      
https://github.com/NixOS/nixpkgs/commit/e76c8ac44e3636d90f28e069449f996bd3b9b18a
  Author: aszlig <[email protected]>
  Date:   2017-02-11 (Sat, 11 Feb 2017)

  Changed paths:
    M nixos/tests/chromium.nix

  Log Message:
  -----------
  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 <[email protected]>
Reported-by: @globin
(cherry picked from commit cd10e3c4ffa3d6c729aab8778bf6027415025c44)


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to