move basic.sh test to subdir of tool

This commit is contained in:
Klas Lindfors
2014-06-24 09:50:11 +02:00
parent ab3083dc1b
commit 72f271ae73
6 changed files with 37 additions and 7 deletions
+3 -3
View File
@@ -34,8 +34,6 @@ yubico-piv-tool-*.tar.gz
yubico-piv-tool-*.tar.gz.sig yubico-piv-tool-*.tar.gz.sig
yubico-piv-tool-*-mac.zip yubico-piv-tool-*-mac.zip
yubico-piv-tool-*-mac.zip.sig yubico-piv-tool-*-mac.zip.sig
tests/basic.sh.log
tests/basic.sh.trs
tests/test-suite.log tests/test-suite.log
tests/basic tests/basic
tests/basic.log tests/basic.log
@@ -68,4 +66,6 @@ tool/libpiv_cmd_la-cmdline.o
tool/libpiv_util.la tool/libpiv_util.la
tool/util.lo tool/util.lo
tool/util.o tool/util.o
tool/tests/basic.sh.log
tool/tests/basic.sh.trs
tool/tests/test-suite.log
+1
View File
@@ -151,6 +151,7 @@ AC_CONFIG_FILES([
Makefile Makefile
lib/Makefile lib/Makefile
tool/Makefile tool/Makefile
tool/tests/Makefile
tests/Makefile tests/Makefile
lib/ykpiv-version.h lib/ykpiv-version.h
lib/ykpiv.pc lib/ykpiv.pc
+1 -3
View File
@@ -24,8 +24,6 @@
# non-source form of such a combination shall include the source code # non-source form of such a combination shall include the source code
# for the parts of OpenSSL used as well as that of the covered work. # for the parts of OpenSSL used as well as that of the covered work.
TESTS_ENVIRONMENT = export VERSION=$(VERSION); export EXEEXT=$(EXEEXT);
AM_CFLAGS = $(WARN_CFLAGS) AM_CFLAGS = $(WARN_CFLAGS)
AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
@@ -33,4 +31,4 @@ AM_LDFLAGS = -no-install
LDADD = ../lib/libykpiv.la LDADD = ../lib/libykpiv.la
check_PROGRAMS = basic parse_key check_PROGRAMS = basic parse_key
TESTS = basic.sh $(check_PROGRAMS) TESTS = $(check_PROGRAMS)
+2
View File
@@ -24,6 +24,8 @@
# non-source form of such a combination shall include the source code # non-source form of such a combination shall include the source code
# for the parts of OpenSSL used as well as that of the covered work. # for the parts of OpenSSL used as well as that of the covered work.
SUBDIRS = . tests
AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
AM_CPPFLAGS = $(OPENSSL_CFLAGS) AM_CPPFLAGS = $(OPENSSL_CFLAGS)
AM_CPPFLAGS += -I$(top_srcdir)/lib -I$(top_builddir)/lib AM_CPPFLAGS += -I$(top_srcdir)/lib -I$(top_builddir)/lib
+29
View File
@@ -0,0 +1,29 @@
# Copyright (c) 2014 Yubico AB
# All rights reserved.
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
#
# Additional permission under GNU GPL version 3 section 7
#
# If you modify this program, or any covered work, by linking or
# combining it with the OpenSSL project's OpenSSL library (or a
# modified version of that library), containing parts covered by the
# terms of the OpenSSL or SSLeay licenses, We grant you additional
# permission to convey the resulting work. Corresponding Source for a
# non-source form of such a combination shall include the source code
# for the parts of OpenSSL used as well as that of the covered work.
TESTS_ENVIRONMENT = export VERSION=$(VERSION); export EXEEXT=$(EXEEXT);
TESTS = basic.sh
+1 -1
View File
@@ -31,7 +31,7 @@
set -e set -e
BIN="../tool/yubico-piv-tool${EXEEXT}" BIN="../yubico-piv-tool${EXEEXT}"
HELP_OUTPUT=$($BIN --help) HELP_OUTPUT=$($BIN --help)