summary refs log tree commit diff
path: root/nixos/tests/pantheon.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/pantheon.nix
parent74008e2c3c06c1526bae722529ce929078c54eb0 (diff)
downloadnixpkgs-1f7455cf0d131b10a3f3e0b72a87bde14ea892c3.tar
nixpkgs-1f7455cf0d131b10a3f3e0b72a87bde14ea892c3.tar.gz
nixpkgs-1f7455cf0d131b10a3f3e0b72a87bde14ea892c3.tar.bz2
nixpkgs-1f7455cf0d131b10a3f3e0b72a87bde14ea892c3.tar.lz
nixpkgs-1f7455cf0d131b10a3f3e0b72a87bde14ea892c3.tar.xz
nixpkgs-1f7455cf0d131b10a3f3e0b72a87bde14ea892c3.tar.zst
nixpkgs-1f7455cf0d131b10a3f3e0b72a87bde14ea892c3.zip
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/pantheon.nix')
-rw-r--r--nixos/tests/pantheon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix
index c50f77f8617..9888887ee8b 100644
--- a/nixos/tests/pantheon.nix
+++ b/nixos/tests/pantheon.nix
@@ -42,7 +42,7 @@ import ./make-test.nix ({ pkgs, ...} :
     $machine->waitForWindow(qr/plank/);
 
     # 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");
 
     # Open elementary terminal
     $machine->execute("su - alice -c 'DISPLAY=:0.0 io.elementary.terminal &'");