about summary refs log tree commit diff
path: root/nixos/tests/gnome3-xorg.nix
diff options
context:
space:
mode:
authorc0bw3b <c0bw3b@users.noreply.github.com>2019-10-11 23:20:57 +0200
committerc0bw3b <c0bw3b@users.noreply.github.com>2019-10-11 23:20:57 +0200
commit1f7455cf0d131b10a3f3e0b72a87bde14ea892c3 (patch)
tree0e321339d00fcfe686821bab9a60b8ed0022cd02 /nixos/tests/gnome3-xorg.nix
parent74008e2c3c06c1526bae722529ce929078c54eb0 (diff)
nixos.tests: silence getfacl absolute path message
Default getfacl behavior is to remove leading slash on absolute
paths in its header printed to stdout.
Before the header it will also print a message about it...

Switches -p -or --absolute-names can turn this off
and remove some noise from our tests logs.
Diffstat (limited to 'nixos/tests/gnome3-xorg.nix')
-rw-r--r--nixos/tests/gnome3-xorg.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gnome3-xorg.nix b/nixos/tests/gnome3-xorg.nix
index f12361da03720..eb4c376319be2 100644
--- a/nixos/tests/gnome3-xorg.nix
+++ b/nixos/tests/gnome3-xorg.nix
@@ -29,7 +29,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       $machine->waitForUnit("default.target","alice");
 
       # Check that logging in has given the user ownership of devices.
-      $machine->succeed("getfacl /dev/snd/timer | grep -q alice");
+      $machine->succeed("getfacl -p /dev/snd/timer | grep -q alice");
 
       $machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
       $machine->succeed("xauth merge ~alice/.Xauthority");