You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_contains "$(head -n 1 "${WORKDIR}/apt.args")""update""The apt command should be called to update the package list"
68
-
assert_contains "$(head -n 2 "${WORKDIR}/apt.args"| tail -n 1)""install -y tailscale""The apt command should be called with the command to install tailscale file"
69
-
assert_contains "$(cat "${WORKDIR}/sed.args")""--state /data/tailscale""The defaults should be updated with state directory"
72
+
assert_contains "$apt_first""update""The apt command should be called to update the package list"
73
+
assert_contains "$apt_second""install -y tailscale""The apt command should be called with the command to install tailscale file"
74
+
assert_contains "$sed_args""--state /data/tailscale""The defaults should be updated with state directory"
70
75
[[ -f"${WORKDIR}/tailscaled.restarted" ]]; assert "tailscaled should have been restarted"
71
76
[[ -f"${WORKDIR}/tailscaled.service.enabled" ]]; assert "tailscaled unit should be enabled"
72
77
[[ -f"${WORKDIR}/systemctl.daemon-reload" ]]; assert "systemctl should have been reloaded"
73
78
[[ -f"${WORKDIR}/tailscale-install.service.enabled" ]]; assert "tailscale-install unit should be enabled"
79
+
[[ -f"${SYSTEMD_UNIT_DIR}/tailscale-install.service" ]]; assert "tailscale-install.service unit file should be copied to systemd directory"
80
+
[[ -f"${SYSTEMD_UNIT_DIR}/tailscale-install.timer" ]]; assert "tailscale-install.timer unit file should be copied to systemd directory"
0 commit comments