From bae7e0329adf50af874bf323cefc9e54c2cd00a0 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Mon, 8 Jan 2018 20:44:32 +0100 Subject: add tests using shunit2 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b2e05ec..9e112a3 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,9 @@ ssh-agent-filter.o: ssh-agent-filter.C rfc4251.H ssh-agent.h version.h rfc4251.o: rfc4251.C rfc4251.H rfc4251_gmp.o: rfc4251_gmp.C rfc4251.H +test: + PATH="$$(pwd):$$PATH" ./tests + version.h: test ! -d .git || git describe | sed 's/^.*$$/#define SSH_AGENT_FILTER_VERSION "ssh-agent-filter \0"/' > $@ -- cgit v1.2.3 From 3b9460a74b51119e15e0d57dafb2e0c66326890a Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Mon, 8 Jan 2018 21:08:09 +0100 Subject: update copyright --- Makefile | 2 +- ssh-agent-filter.C | 2 +- tests | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9e112a3..9c6a8a4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2016 Timo Weingärtner +# Copyright (C) 2013-2018 Timo Weingärtner # # This file is part of ssh-agent-filter. # diff --git a/ssh-agent-filter.C b/ssh-agent-filter.C index 7213f7c..74b15ab 100644 --- a/ssh-agent-filter.C +++ b/ssh-agent-filter.C @@ -1,7 +1,7 @@ /* * ssh-agent-filter.C -- filtering proxy for ssh-agent meant to be forwarded to untrusted servers * - * Copyright (C) 2013-2016 Timo Weingärtner + * Copyright (C) 2013-2018 Timo Weingärtner * * This file is part of ssh-agent-filter. * diff --git a/tests b/tests index b952141..d47daf1 100755 --- a/tests +++ b/tests @@ -1,5 +1,24 @@ #!/bin/sh +# tests for ssh-agent-filter +# +# Copyright (C) 2018 Timo Weingärtner +# +# This file is part of ssh-agent-filter. +# +# ssh-agent-filter is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# ssh-agent-filter is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with ssh-agent-filter. If not, see . + oneTimeSetUp () { set -e -- cgit v1.2.3