summaryrefslogtreecommitdiff
diff options
authorPaweł Stołowski <stolowski@gmail.com>2020-04-02 13:36:24 +0200
committerPaweł Stołowski <stolowski@gmail.com>2020-04-02 13:36:24 +0200
commit15e14709033d16961eb517291ff158befad955f8 (patch)
treec8fc5c7d871f78303c57f0303033f89ff23b0ab6
parentae2cd27c22dc555b80d36009ea66d500dc90d209 (diff)
Check that mask file points to /dev/null.config-backlight
-rw-r--r--tests/main/core-backlight/task.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/main/core-backlight/task.yaml b/tests/main/core-backlight/task.yaml
index ae84bb14fc..53f1b5d77a 100644
--- a/tests/main/core-backlight/task.yaml
+++ b/tests/main/core-backlight/task.yaml
@@ -14,6 +14,7 @@ execute: |
systemctl status systemd-backlight@foo | MATCH "Loaded: masked"
test -L "$MASKFILE"
+ [ "$(readlink $MASKFILE)" = "/dev/null" ]
echo "Check that backlight service can be enabled"
snap set core system.disable-backlight-service=false