>From 79e8f0e1cdd09ca791755bb03c1e8f38b8078dc3 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 23 Oct 2015 13:06:00 +0200 Subject: [PATCH] temp --- src/tests/cwrap/Makefile.am | 8 ++++++-- src/tests/cwrap/become_user-tests.sh | 5 +++++ src/tests/cwrap/responder_common-tests.sh | 5 +++++ src/tests/cwrap/server-tests.sh | 5 +++++ src/tests/cwrap/usertools-tests.sh | 5 +++++ 5 files changed, 26 insertions(+), 2 deletions(-) create mode 100755 src/tests/cwrap/become_user-tests.sh create mode 100755 src/tests/cwrap/responder_common-tests.sh create mode 100755 src/tests/cwrap/server-tests.sh create mode 100755 src/tests/cwrap/usertools-tests.sh diff --git a/src/tests/cwrap/Makefile.am b/src/tests/cwrap/Makefile.am index 34b5d8beabf6b444cac9757a4e8023c4cc4fb610..28bbb1eda13acec5c718faba38581dcac1a6d824 100644 --- a/src/tests/cwrap/Makefile.am +++ b/src/tests/cwrap/Makefile.am @@ -14,7 +14,6 @@ AM_CPPFLAGS = \ TESTS_ENVIRONMENT = \ CWRAP_TEST_SRCDIR=$(abs_srcdir) \ - . $(srcdir)/cwrap_test_setup.sh; \ $(AUX_TESTS_ENVIRONMENT) \ $(NULL) @@ -55,7 +54,12 @@ endif # HAVE_UID_WRAPPER endif # HAVE_NSS_WRAPPER endif # HAVE_CMOCKA -TESTS = $(check_PROGRAMS) +TESTS = \ + become_user-tests.sh \ + server-tests.sh \ + usertools-tests.sh \ + responder_common-tests.sh \ + $(NULL) become_user_tests_SOURCES = \ test_become_user.c \ diff --git a/src/tests/cwrap/become_user-tests.sh b/src/tests/cwrap/become_user-tests.sh new file mode 100755 index 0000000000000000000000000000000000000000..fdd610cdc1af81fe1cbb3c0d0ad5f8bc431e8ad3 --- /dev/null +++ b/src/tests/cwrap/become_user-tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. $CWRAP_TEST_SRCDIR/cwrap_test_setup.sh + +exec ./become_user-tests "$@" diff --git a/src/tests/cwrap/responder_common-tests.sh b/src/tests/cwrap/responder_common-tests.sh new file mode 100755 index 0000000000000000000000000000000000000000..5bdecbab86fb62178b27dca3d100f8181ea42986 --- /dev/null +++ b/src/tests/cwrap/responder_common-tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. $CWRAP_TEST_SRCDIR/cwrap_test_setup.sh + +exec ./responder_common-tests "$@" diff --git a/src/tests/cwrap/server-tests.sh b/src/tests/cwrap/server-tests.sh new file mode 100755 index 0000000000000000000000000000000000000000..248f17cf1834417450715f7a86e1118566bc303c --- /dev/null +++ b/src/tests/cwrap/server-tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. $CWRAP_TEST_SRCDIR/cwrap_test_setup.sh + +exec ./server-tests "$@" diff --git a/src/tests/cwrap/usertools-tests.sh b/src/tests/cwrap/usertools-tests.sh new file mode 100755 index 0000000000000000000000000000000000000000..4479663c99edd92afdcf7c62815db4eeb2beec96 --- /dev/null +++ b/src/tests/cwrap/usertools-tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. $CWRAP_TEST_SRCDIR/cwrap_test_setup.sh + +exec ./usertools-tests "$@" -- 2.5.0