Skip to content

Commit

Permalink
tests/main/interfaces-time-control: use "name" device node since it i…
Browse files Browse the repository at this point in the history
…s also present on arm systems (canonical#14572)
  • Loading branch information
andrewphelpsj authored Oct 3, 2024
1 parent 19c3f09 commit f51a4e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/main/interfaces-time-control/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit f51a4e1

Please sign in to comment.