Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 5746) sorted by relevance

12345678910>>...230

/freebsd/contrib/byacc/
H A DMANIFEST62 package/pkgsrc/DESCR scripts from NetBSD pkgsrc, for test-builds
63 package/pkgsrc/Makefile scripts from NetBSD pkgsrc, for test-builds
64 package/pkgsrc/PLIST scripts from NetBSD pkgsrc, for test-builds
65 package/pkgsrc/distinfo scripts from NetBSD pkgsrc, for test-builds
66 test subdirectory
67 test/README summary of "test" directory
68 test/btyacc subdirectory
69 test/btyacc/big_b.error exercise -L/-B options
70 test/btyacc/big_b.output exercise -L/-B options
71 test/btyacc/big_l.error exercise -L/-B options
[all …]
H A DCHANGES80 make test-differences smaller when compiling with YY_NO_LEAKS by replacing
135 * test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
136 test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
139 * test/ok_syntax1.y:
140 modify test for %union to add tag for testing reader.c
185 * test/run_test.sh: use context diff, to work with AIX
190 * makefile.in, test/run_make.sh, test/run_test.sh, test/run_lint.sh:
314 * test/run_test.sh:
319 * test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen
321 * test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings
[all …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dinclude.am1 # test/Makefile.am for libevent
10 test/check-dumpevents.py \
11 test/regress.gen.c \
12 test/regress.gen.h \
13 test/regress.rpc \
14 test/rpcgen_wrapper.sh \
15 test/print-winsock-errors.c \
16 test/test.sh
19 test/bench \
20 test/bench_cascade \
[all …]
/freebsd/contrib/libevent/test/
H A Dinclude.am1 # test/Makefile.am for libevent
10 test/check-dumpevents.py \
11 test/regress.gen.c \
12 test/regress.gen.h \
13 test/regress.rpc \
14 test/rpcgen_wrapper.sh \
15 test/print-winsock-errors.c \
16 test/test.sh
19 test/bench \
20 test/bench_cascade \
[all …]
/freebsd/tools/regression/priv/
H A Dmain.h40 #define KENV_VAR_NAME "test"
41 #define KENV_VAR_VALUE "test"
47 void setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid,
49 void setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid,
51 void expect(const char *test, int error, int expected_error,
55 * Definition for a particular test, both used to manage the test list in
56 * main.c, and passed to tests so they can be aware of which specific test is
59 struct test { struct
62 struct test *test); argument
64 struct test *test);
[all …]
/freebsd/sys/contrib/libsodium/
H A D.gitignore78 test-driver
79 test/default/browser
80 test/default/*.asm.js
81 test/default/*.res
82 test/default/*.trs
83 test/default/aead_aes256gcm
84 test/default/aead_chacha20poly1305
85 test/default/aead_xchacha20poly1305
86 test/default/auth
87 test/default/auth2
[all …]
/freebsd/crypto/openssl/test/
H A Dtest_test.c22 #define TEST(expected, test) test_case((expected), #test, (test)) argument
24 static int test_case(int expected, const char *test, int result) in test_case() argument
27 fprintf(stderr, "# FATAL: %s != %d\n", test, expected); in test_case()
35 if (!TEST(1, TEST_int_eq(1, 1)) in test_int()
36 || !TEST(0, TEST_int_eq(1, -1)) in test_int()
37 || !TEST(1, TEST_int_ne(1, 2)) in test_int()
38 || !TEST(0, TEST_int_ne(3, 3)) in test_int()
39 || !TEST(1, TEST_int_lt(4, 9)) in test_int()
40 || !TEST(0, TEST_int_lt(9, 4)) in test_int()
41 || !TEST(1, TEST_int_le(4, 9)) in test_int()
[all …]
/freebsd/contrib/netbsd-tests/lib/libbluetooth/
H A Dt_sdp_put.c43 atf_tc_set_md_var(tc, "descr", "Test sdp_put_data results"); in ATF_TC_HEAD()
49 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
57 ATF_REQUIRE(sdp_put_data(&test, &value)); in ATF_TC_BODY()
58 test.end = test.next; in ATF_TC_BODY()
59 test.next = buf; in ATF_TC_BODY()
67 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect)); in ATF_TC_BODY()
68 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY()
76 atf_tc_set_md_var(tc, "descr", "Test sdp_put_attr results"); in ATF_TC_HEAD()
82 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
89 ATF_REQUIRE_EQ(sdp_put_attr(&test, 0xabcd, &value), false); in ATF_TC_BODY()
[all …]
H A Dt_sdp_set.c43 atf_tc_set_md_var(tc, "descr", "Test sdp_set_bool results"); in ATF_TC_HEAD()
53 sdp_data_t test = { data, data + sizeof(data) }; in ATF_TC_BODY() local
56 ATF_CHECK_EQ(sdp_data_type(&test), SDP_DATA_BOOL); in ATF_TC_BODY()
57 ATF_REQUIRE(sdp_set_bool(&test, true)); in ATF_TC_BODY()
58 ATF_CHECK_EQ(test.next[1], 0x01); in ATF_TC_BODY()
59 ATF_REQUIRE(sdp_set_bool(&test, false)); in ATF_TC_BODY()
60 ATF_CHECK_EQ(test.next[1], 0x00); in ATF_TC_BODY()
61 ATF_REQUIRE(sdp_get_data(&test, &discard)); in ATF_TC_BODY()
63 ATF_CHECK_EQ(sdp_data_type(&test), SDP_DATA_NIL); in ATF_TC_BODY()
64 ATF_CHECK_EQ(sdp_set_bool(&test, true), false); /* not bool */ in ATF_TC_BODY()
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dbuild.info175 …PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test se…
176 PROGRAMS{noinst}=punycode-test pem-test decoder-test hashtable-test acert-test
177 PROGRAMS{noinst}=v3name-test
178 PROGRAMS{noinst}=provider-test
181 PROGRAMS{noinst}=ml-kem-test
185 PROGRAMS{noinst}=ml-dsa-test
189 PROGRAMS{noinst}=slh-dsa-test
193 PROGRAMS{noinst}=cmp-test
197 PROGRAMS{noinst}=cms-test
201 PROGRAMS{noinst}=ct-test
[all …]
/freebsd/contrib/libedit/TEST/
H A Dtest_filecompletion.c54 /* simple test for escaping angular brackets */
57 {"ang<ular>test", NULL},
58 L"ls ang\\<ular\\>test "
61 /* test angular bracket inside double quotes: ls "dq_ang */
64 {"dq_ang<ular>test", NULL},
65 L"ls \"dq_ang<ular>test\""
68 /* test angular bracket inside singlq quotes: ls "sq_ang */
71 {"sq_ang<ular>test", NULL},
72 L"ls 'sq_ang<ular>test'"
75 /* simple test for backslash */
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A DMakefile.in35 # test/Makefile.am for libevent
57 if test -z '$(MAKELEVEL)'; then \
59 elif test -n '$(MAKE_HOST)'; then \
61 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
92 test $$skip_next = yes && { skip_next=no; continue; }; \
108 test $$has_opt = yes
145 @BUILD_REGRESS_TRUE@am__append_12 = test/regress
146 @BUILD_REGRESS_TRUE@am__append_13 = test/regress.gen.c test/regres
[all...]
/freebsd/contrib/libevent/
H A DMakefile.in35 # test/Makefile.am for libevent
57 if test -z '$(MAKELEVEL)'; then \
59 elif test -n '$(MAKE_HOST)'; then \
61 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
92 test $$skip_next = yes && { skip_next=no; continue; }; \
108 test $$has_opt = yes
145 @BUILD_REGRESS_TRUE@am__append_12 = test/regress
146 @BUILD_REGRESS_TRUE@am__append_13 = test/regress.gen.c test/regress.gen.h
148 @BUILD_WIN32_TRUE@am__append_15 = test/regress_iocp.c
149 @OPENSSL_TRUE@am__append_16 = test/regress_ssl.c
[all …]
/freebsd/contrib/atf/doc/
H A Datf-test-case.429 .Nm atf-test-case
30 .Nd generic description of test cases
33 .Em test case
38 Given this, test cases are very fine-grained, but they attempt to group
41 A test case is defined by three components regardless of the language it is
46 properties to describe what the test case does and how it behaves.
47 In other words: it defines the test case's
54 is the test case itself.
55 It executes all actions needed to reproduce the test, and checks for
62 the exit status of the test case.
[all …]
/freebsd/tests/sys/file/
H A Ddup_test.c10 * Test #1: check if dup(2) works.
11 * Test #2: check if dup2(2) works.
12 * Test #3: check if dup2(2) returned a fd we asked for.
13 * Test #4: check if dup2(2) cleared close-on-exec flag for duped fd.
14 * Test #5: check if dup2(2) allows to dup fd to itself.
15 * Test #6: check if dup2(2) returned a fd we asked for.
16 * Test #7: check if dup2(2) did not clear close-on-exec flag for duped fd.
17 * Test #8: check if fcntl(F_DUPFD) works.
18 * Test #9: check if fcntl(F_DUPFD) cleared close-on-exec flag for duped fd.
19 * Test #10: check if dup2() to a fd > current maximum number of open files
[all …]
/freebsd/lib/libc/tests/net/getaddrinfo/
H A Dgetaddrinfo_test.sh33 atf_skip "This test requires VIMAGE"
99 TEST="jexec getaddrinfo_test_basic_prefer_v4 $(atf_get_srcdir)/h_gai"
101 ( $TEST ::1 http
102 $TEST 127.0.0.1 http
103 $TEST localhost http
104 $TEST ::1 tftp
105 $TEST 127.0.0.1 tftp
106 $TEST localhost tftp
107 $TEST ::1 echo
108 $TEST 127.0.0.1 echo
[all …]
/freebsd/contrib/atf/atf-c/
H A Dh_build.h33 * Test case data.
52 "test.c",
53 "test.o",
59 "cc", "-o", "test.o", "-c", "test.c", NULL
68 "test.c",
69 "test.o",
75 "cc", "-foo", "-o", "test.o", "-c", "test.c", NULL
84 "test.c",
85 "test.o",
91 "cc", "-f1", "-f2", "-f3", "-f4-f5", "-o", "test.o",
[all …]
/freebsd/sys/dev/ioat/
H A Dioat_test.c57 MALLOC_DEFINE(M_IOAT_TEST, "ioat_test", "ioat test allocations");
66 struct ioat_test *test; member
74 MTX_SYSINIT(ioat_test_lk, &ioat_test_lk, "test coordination mtx", MTX_DEF);
98 test_transaction *ioat_test_transaction_create(struct ioat_test *test, in ioat_test_transaction_create() argument
108 tx->length = test->buffer_size; in ioat_test_transaction_create()
111 if (test->testkind == IOAT_TEST_DMA_8K) in ioat_test_transaction_create()
112 tx->buf[i] = malloc(test->buffer_size, M_IOAT_TEST, in ioat_test_transaction_create()
115 tx->buf[i] = contigmalloc(test->buffer_size, in ioat_test_transaction_create()
142 struct ioat_test *test; in ioat_compare_ok() local
146 test = tx->test; in ioat_compare_ok()
[all …]
/freebsd/lib/libc/tests/net/getaddrinfo/data/
H A Dgenerate_testdata.sh2 TEST=./h_gai
5 ( $TEST ::1 http
6 $TEST 127.0.0.1 http
7 $TEST localhost http
8 $TEST ::1 tftp
9 $TEST 127.0.0.1 tftp
10 $TEST localhost tftp
11 $TEST ::1 echo
12 $TEST 127.0.0.1 echo
13 $TEST localhost echo ) > basics_${family}.exp
[all …]
/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_exclude.c7 #include "test.h"
18 * Now, try extracting from the test archive with various --exclude options. in DEFINE_TEST()
21 /* Test 1: Without --exclude */ in DEFINE_TEST()
25 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST()
28 assertEmptyFile("test.out"); in DEFINE_TEST()
29 assertEmptyFile("test.err"); in DEFINE_TEST()
32 /* Test 2: Selecting just one file */ in DEFINE_TEST()
36 systemf("%s -xf ../archive.tar file1 >test.out 2>test.err", testprog)); in DEFINE_TEST()
39 assertEmptyFile("test.out"); in DEFINE_TEST()
40 assertEmptyFile("test.err"); in DEFINE_TEST()
[all …]
/freebsd/contrib/unbound/testdata/
H A Dauth_nsec3_ent_with_out_of_zone_data.rpl6 name: "unbound-auth-test.nlnetlabs.nl."
27 TEMPFILE_NAME unbound-auth-test.nlnetlabs.nl
28 ## this is the inline file /tmp/xxx.unbound-auth-test.nlnetlabs.nl
30 TEMPFILE_CONTENTS unbound-auth-test.nlnetlabs.nl
31 ;; Zone: unbound-auth-test.nlnetlabs.nl.
33 unbound-auth-test.nlnetlabs.nl. 3600 IN SOA ns.nlnetlabs.nl. ralph.nlnetlabs.nl. 1554201247 14400 3…
34 unbound-auth-test.nlnetlabs.nl. 3600 IN RRSIG SOA 13 3 3600 20190430103407 20190402103407 15486 unb…
40 unbound-auth-test.nlnetlabs.nl. 3600 IN NS ns.nlnetlabs.nl.
41 unbound-auth-test.nlnetlabs.nl. 3600 IN RRSIG NS 13 3 3600 20190430103407 20190402103407 15486 unbo…
42 unbound-auth-test.nlnetlabs.nl. 3600 IN DNSKEY 256 3 13 S3Da9HqpFj0pEbI8WXOdkvN3vgZ6qxNSz4XyKkmWWAG…
[all …]
/freebsd/contrib/googletest/docs/reference/
H A Dtesting.md5 This page lists the facilities provided by GoogleTest for writing test programs.
12 ### TEST {#TEST}
15 TEST(<em>TestSuiteName</em>, <em>TestName</em>) {
20 Defines an individual test named *`TestName`* in the test suite
24 and must not contain underscores (`_`). Tests in different test suites can have
27 The statements within the test body can be any code under test.
28 [Assertions](assertions.md) used within the test body determine the outcome of
29 the test.
39 Defines an individual test named *`TestName`* that uses the test fixture class
40 *`TestFixtureName`*. The test suite name is *`TestFixtureName`*.
[all …]
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devppkey_ml_kem_512_decap.txt12 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705…
19 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8…
26 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055…
33 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a…
40 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4…
47 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790…
54 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33…
61 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b…
68 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64…
75 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e…
[all …]
/freebsd/contrib/kyua/doc/
H A Dkyuafile.5.in33 .Nd Test suite description files
49 A test suite is a collection of test programs and is represented by a
50 hierarchical layout of test binaries on the file system.
51 Any subtree of the file system can represent a test suite, provided that it
54 which are the test suite definition files.
58 is a Lua script whose purpose is to describe the structure of the test
79 .Ss Test suite definition
82 registers any test programs,
85 must define the name of the test suite the test programs belong to by using the
89 The test suite name provided in the
[all …]
/freebsd/tools/regression/netinet/ipdivert/
H A Dipdivert.c31 * This is a test tool for IP divert sockets. For the time being, it just
33 * behaviour. It would be highly desirable to broaden this test tool to
50 ok(const char *test) in ok() argument
53 fprintf(stderr, "%s: OK\n", test); in ok()
57 fail(const char *test, const char *note) in fail() argument
60 fprintf(stderr, "%s - %s: FAIL (%s)\n", test, note, strerror(errno)); in fail()
65 failx(const char *test, const char *note) in failx() argument
68 fprintf(stderr, "%s - %s: FAIL\n", test, note); in failx()
73 ipdivert_create(const char *test) in ipdivert_create() argument
79 fail(test, "socket"); in ipdivert_create()
[all …]

12345678910>>...230