aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/tests/test_boot.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/testing/tests/test_boot.py')
-rw-r--r--scripts/testing/tests/test_boot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/testing/tests/test_boot.py b/scripts/testing/tests/test_boot.py
index e442682..66b78e4 100644
--- a/scripts/testing/tests/test_boot.py
+++ b/scripts/testing/tests/test_boot.py
@@ -76,8 +76,8 @@ def test_zfs_pre_pacman_snapshot_hook(host):
script = host.file("/usr/local/bin/zfs-pre-snapshot")
assert script.exists and script.is_file, "pre-pacman snapshot script missing"
assert script.mode & 0o111, "pre-pacman snapshot script is not executable"
- hook = host.file("/etc/pacman.d/hooks/zfs-snapshot.hook")
- assert hook.exists and hook.is_file, "zfs-snapshot.hook missing"
+ hook = host.file("/etc/pacman.d/hooks/05-zfs-snapshot.hook")
+ assert hook.exists and hook.is_file, "05-zfs-snapshot.hook missing"
assert "PreTransaction" in hook.content_string, "hook not PreTransaction"
assert "/usr/local/bin/zfs-pre-snapshot" in hook.content_string, \
"hook does not exec the snapshot script"