From 30e0c0a337deb3e71d9410f195d9d915dfec37a6 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 5 Apr 2016 12:44:39 +0300
Subject: [PATCH] - Set test Make target as default.

---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 2924f50..d241c56 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
-- 
GitLab