Skip to content
Snippets Groups Projects
Commit 30e0c0a3 authored by nimrod's avatar nimrod
Browse files

- Set test Make target as default.

parent a19b9843
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,11 @@
USERNAME = $$(whoami)
test: lint clean ssh_config sshd_config CA CA.pub users/$(USERNAME) hosts/localhost known_hosts
$$(PATH=$$PATH:/usr/local/sbin:/usr/sbin:/sbin which sshd) -f sshd_config
test "$$(ssh -F ssh_config test whoami)" = "$$USER"
kill $$(cat sshd.pid)
CA CA.pub users hosts:
./ssh-ca init
......@@ -51,8 +56,3 @@ clean:
lint:
/bin/sh -en ssh-ca
test: lint clean ssh_config sshd_config CA CA.pub users/$(USERNAME) hosts/localhost known_hosts
$$(PATH=$$PATH:/usr/local/sbin:/usr/sbin:/sbin which sshd) -f sshd_config
test "$$(ssh -F ssh_config test whoami)" = "$$USER"
kill $$(cat sshd.pid)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment