test: use the correct file name when restoring the original fstab

This commit is contained in:
Frantisek Sumsal
2023-08-24 07:54:13 +00:00
parent 1ffa5cfb38
commit 9541addff0
@@ -52,7 +52,7 @@ systemctl daemon-reload
[[ "$(systemctl show -P UnitFileState foo-fstab-opt.mount)" == bad ]]
rm -f /etc/fstab
[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab /etc/fstab
[[ -e /tmp/fstab.bak ]] && mv -f /tmp/fstab.bak /etc/fstab
systemctl daemon-reload
# c) Mount unit