From f51a4e1f0dabafc49c419cf4ec2745bf080f7f1f Mon Sep 17 00:00:00 2001 From: Andrew Phelps <136256549+andrewphelpsj@users.noreply.github.com> Date: Thu, 3 Oct 2024 16:19:39 -0400 Subject: [PATCH] tests/main/interfaces-time-control: use "name" device node since it is also present on arm systems (#14572) --- tests/main/interfaces-time-control/task.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/main/interfaces-time-control/task.yaml b/tests/main/interfaces-time-control/task.yaml index 13f653b2fd0..d46903fffb7 100644 --- a/tests/main/interfaces-time-control/task.yaml +++ b/tests/main/interfaces-time-control/task.yaml @@ -68,7 +68,7 @@ execute: | fi # make sure that we can access the files in /sys/class/rtc - test-snapd-timedate-control-consumer.sh -c "cat /sys/class/rtc/rtc0/wakealarm" + test-snapd-timedate-control-consumer.sh -c "cat /sys/class/rtc/rtc0/name" echo "When the plug is disconnected" snap disconnect test-snapd-timedate-control-consumer:time-control @@ -85,4 +85,4 @@ execute: | # EPERM because date gets blocked by the seccomp profile MATCH "cannot set date: Operation not permitted" < call.error - not test-snapd-timedate-control-consumer.sh -c "cat /sys/class/rtc/rtc0/wakealarm" + not test-snapd-timedate-control-consumer.sh -c "cat /sys/class/rtc/rtc0/name"