aboutsummaryrefslogtreecommitdiff
path: root/atf-c/tp_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'atf-c/tp_test.c')
-rw-r--r--atf-c/tp_test.c21
1 files changed, 4 insertions, 17 deletions
diff --git a/atf-c/tp_test.c b/atf-c/tp_test.c
index 5da18b20bdac..de334a97483b 100644
--- a/atf-c/tp_test.c
+++ b/atf-c/tp_test.c
@@ -1,7 +1,4 @@
-/*
- * Automated Testing Framework (atf)
- *
- * Copyright (c) 2010 The NetBSD Foundation, Inc.
+/* Copyright (c) 2010 The NetBSD Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -24,16 +21,15 @@
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
- * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+
+#include "atf-c/tp.h"
#include <string.h>
#include <unistd.h>
#include <atf-c.h>
-#include "detail/test_helpers.h"
-
ATF_TC(getopt);
ATF_TC_HEAD(getopt, tc)
{
@@ -81,12 +77,6 @@ ATF_TC_BODY(getopt, tc)
}
/* ---------------------------------------------------------------------
- * Tests cases for the header file.
- * --------------------------------------------------------------------- */
-
-HEADER_TC(include, "atf-c/tp.h");
-
-/* ---------------------------------------------------------------------
* Main.
* --------------------------------------------------------------------- */
@@ -94,8 +84,5 @@ ATF_TP_ADD_TCS(tp)
{
ATF_TP_ADD_TC(tp, getopt);
- /* Add the test cases for the header file. */
- ATF_TP_ADD_TC(tp, include);
-
return atf_no_error();
}