summary refs log tree commit diff
path: root/nixos/tests/plasma5.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/plasma5.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/plasma5.nix')
-rw-r--r--nixos/tests/plasma5.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/plasma5.nix b/nixos/tests/plasma5.nix
index 88d4ff33436..614fc9bf316 100644
--- a/nixos/tests/plasma5.nix
+++ b/nixos/tests/plasma5.nix
@@ -48,7 +48,7 @@ import ./make-test.nix ({ pkgs, ...} :
     $machine->waitForWindow("^Desktop ");
 
     # 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->execute("su - alice -c 'DISPLAY=:0.0 dolphin &'");
     $machine->waitForWindow(" Dolphin");