276da39af9
Approved by: roberto, delphij Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
53 lines
986 B
C
53 lines
986 B
C
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
|
|
|
//=======Test Runner Used To Run Each Test Below=====
|
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
|
{ \
|
|
Unity.CurrentTestName = #TestFunc; \
|
|
Unity.CurrentTestLineNumber = TestLineNum; \
|
|
Unity.NumberOfTests++; \
|
|
if (TEST_PROTECT()) \
|
|
{ \
|
|
setUp(); \
|
|
TestFunc(); \
|
|
} \
|
|
if (TEST_PROTECT() && !TEST_IS_IGNORED) \
|
|
{ \
|
|
tearDown(); \
|
|
} \
|
|
UnityConcludeTest(); \
|
|
}
|
|
|
|
//=======Automagically Detected Files To Include=====
|
|
#include "unity.h"
|
|
#include <setjmp.h>
|
|
#include <stdio.h>
|
|
|
|
//=======External Functions This Runner Calls=====
|
|
extern void setUp(void);
|
|
extern void tearDown(void);
|
|
void resetTest(void);
|
|
extern void test_main(void );
|
|
|
|
|
|
//=======Test Reset Option=====
|
|
void resetTest()
|
|
{
|
|
tearDown();
|
|
setUp();
|
|
}
|
|
|
|
char *progname;
|
|
|
|
|
|
//=======MAIN=====
|
|
int main(int argc, char *argv[])
|
|
{
|
|
progname = argv[0];
|
|
Unity.TestFile = "bug-2803.c";
|
|
UnityBegin("bug-2803.c");
|
|
RUN_TEST(test_main, 18);
|
|
|
|
return (UnityEnd());
|
|
}
|