| /freebsd-14.2/tools/regression/nfsmmap/test1/ |
| H A D | Makefile | 2 PROG= test1 5 CLEANFILES= test1.zeros test1.good test1.data test1.scratch 7 all: test1 test1.zeros test1.good 8 @cp ${.OBJDIR}/test1.zeros ${.OBJDIR}/test1.data 10 ssh ${NFSSERVER} touch ${.OBJDIR}/test1.data; \ 12 @cd ${.OBJDIR}; ${.OBJDIR}/test1 13 @if cmp -s ${.OBJDIR}/test1.data ${.OBJDIR}/test1.good && \ 14 cmp -s ${.OBJDIR}/test1.scratch ${.OBJDIR}/test1.good ; then \ 20 test1.zeros: test1.zeros.uu 23 test1.good: test1.good.uu target [all …]
|
| H A D | test1.good.uu | 1 begin 644 test1.good
|
| /freebsd-14.2/contrib/atf/atf-c/ |
| H A D | tc_test.c | 2 * All rights reserved. 31 #include <atf-c.h> 65 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY() 67 ATF_REQUIRE(strcmp(atf_tc_get_ident(&tc), "test1") == 0); in ATF_TC_BODY() 87 .m_ident = "test1", in ATF_TC_BODY() 100 ATF_REQUIRE(strcmp(atf_tc_get_ident(&tc), "test1") == 0); in ATF_TC_BODY() 120 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY() 141 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY() 147 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY() 164 * but good tests here could allow us to avoid much of the indirect [all …]
|
| /freebsd-14.2/contrib/libarchive/libarchive/test/ |
| H A D | test_read_format_rar5.c | 187 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 230 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 464 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 511 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 545 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 582 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 615 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 649 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 677 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() 703 assertEqualString("test1.bin", archive_entry_pathname(ae)); in DEFINE_TEST() [all …]
|
| /freebsd-14.2/contrib/ntp/sntp/libevent/test/ |
| H A D | regress.c | 169 len = write(fd, TEST1, strlen(TEST1) + 1); in simple_write_cb() 303 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_simpleread() 348 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_simpleread_multiple() 947 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_fork() 998 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_fork() 1005 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_fork() 1066 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_del_wait() 1334 /* XXXX Now there's no longer a good way. */ in test_signal_assert() 2358 if (write(pair[1], TEST1, strlen(TEST1)+1) < 0) { in test_multiple_events_for_same_fd() 2388 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in read_once_cb() [all …]
|
| H A D | regress_buffer.c | 68 /* Validates that an evbuffer is good. Returns false if it isn't, true if it 753 sz = v[0].iov_len + v[1].iov_len + v[2].iov_len; in test_evbuffer_reserve_many() 1431 s = "Line with\rin the middle\nLine with good crlf\r\n\nfinal\n"; in test_evbuffer_readln() 1440 tt_line_eq("Line with good crlf"); in test_evbuffer_readln() 1461 s = " and a bad crlf\nand a good one\r\n\r\nMore\r"; in test_evbuffer_readln() 1465 tt_line_eq("x and a bad crlf\nand a good one"); in test_evbuffer_readln() 1557 s = " and a bad crlf\nand a good one\r"; in test_evbuffer_readln() 1574 tt_line_eq(" and a bad crlf\nand a good one"); in test_evbuffer_readln() 1733 const char* test1 = "1234567890\r\n"; in test_evbuffer_find() local 1743 evbuffer_add(buf, (unsigned char*)test1, strlen(test1)); in test_evbuffer_find() [all …]
|
| /freebsd-14.2/contrib/libevent/test/ |
| H A D | regress.c | 169 len = write(fd, TEST1, strlen(TEST1) + 1); in simple_write_cb() 303 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_simpleread() 348 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_simpleread_multiple() 947 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_fork() 998 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_fork() 1005 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_fork() 1066 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in test_del_wait() 1334 /* XXXX Now there's no longer a good way. */ in test_signal_assert() 2358 if (write(pair[1], TEST1, strlen(TEST1)+1) < 0) { in test_multiple_events_for_same_fd() 2388 if (write(pair[0], TEST1, strlen(TEST1)+1) < 0) { in read_once_cb() [all …]
|
| H A D | regress_buffer.c | 68 /* Validates that an evbuffer is good. Returns false if it isn't, true if it 753 sz = v[0].iov_len + v[1].iov_len + v[2].iov_len; in test_evbuffer_reserve_many() 1431 s = "Line with\rin the middle\nLine with good crlf\r\n\nfinal\n"; in test_evbuffer_readln() 1440 tt_line_eq("Line with good crlf"); in test_evbuffer_readln() 1461 s = " and a bad crlf\nand a good one\r\n\r\nMore\r"; in test_evbuffer_readln() 1465 tt_line_eq("x and a bad crlf\nand a good one"); in test_evbuffer_readln() 1557 s = " and a bad crlf\nand a good one\r"; in test_evbuffer_readln() 1574 tt_line_eq(" and a bad crlf\nand a good one"); in test_evbuffer_readln() 1733 const char* test1 = "1234567890\r\n"; in test_evbuffer_find() local 1743 evbuffer_add(buf, (unsigned char*)test1, strlen(test1)); in test_evbuffer_find() [all …]
|
| /freebsd-14.2/crypto/openssh/regress/ |
| H A D | sshsig.sh | 2 # Placed in the Public Domain. 6 DATA2=$OBJ/${DATANAME}.2 18 WRONG=$OBJ/wrong-key.pub 20 # Make a CA key. 92 cut -d' ' -f1-2 ${OBJ}/${keybase}.pub > ${OBJ}/${keybase}-strip.pub 249 printf "namespaces=\"test1,test2\" "; 378 trace "$tid: key type $t verify cert good CA" 388 trace "$tid: key type $t find-principals cert good CA" 395 trace "$tid: key type $t find-principals cert good wildcard CA" 406 trace "$tid: key type $t verify cert good wildcard CA" [all …]
|
| /freebsd-14.2/contrib/kyua/m4/ |
| H A D | ax_cxx_compile_stdcxx.m4 | 351 test1() 394 template <int...> 398 struct sum<N0, N1toN...> 430 void func(...) {} 611 template<typename... Args> 612 int multiply(Args... args) 618 bool all(Args... args) 620 return (args && ...); 908 struct Good {}; 919 Good [all …]
|
| /freebsd-14.2/contrib/googletest/docs/ |
| H A D | advanced.md | 29 as it's impossible (nor a good idea) to anticipate all scenarios a user might 162 ... 188 ... 226 void Test1() { Foo<bool> foo; } 325 ... 368 ... 412 is in a known good state, are there to fail at the earliest possible time after 965 TEST_F(FooTest, Test1) { 1048 This feature is easy to abuse, so please exercise your good sense when doing 1437 (#including `.cc` files is not a good way to reuse code - you should not do [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 4 // See https://llvm.org/LICENSE.txt for license information. 287 return Parser.Error(Loc.isValid() ? Loc : Lexer.getTok().getLoc(), Msg); in error() 567 Name = StringRef(Name.begin(), Name.size() + Sep.getString().size()); in ParseInstruction() 572 Id.getLoc().getPointer() != Name.end()) in ParseInstruction() 574 Name = StringRef(Name.begin(), Name.size() + Id.getString().size()); in ParseInstruction() 650 NestingStack.back().Sig = *Signature.get(); in ParseInstruction() 726 Op->BrL.List.push_back(Lexer.getTok().getIntVal()); in ParseInstruction() 863 // TODO: would be good to factor this into a common function, but the in parseDirective() 1136 // ... in doBeforeLabelEmit() 1138 // test1: ; We would like to point to this line for error in doBeforeLabelEmit() [all …]
|
| /freebsd-14.2/contrib/googletest/googletest/test/ |
| H A D | gtest_unittest.cc | 970 // ...in the middle... in TEST_F() 975 // ...at the end... in TEST_F() 992 // ...in the middle... in TEST_F() 997 // ...and at the end. in TEST_F() 2498 const char* const p1 = "good"; in TEST() 2502 const char p2[] = "good"; in TEST() 2505 EXPECT_FATAL_FAILURE(ASSERT_STREQ("bad", "good"), " \"bad\"\n \"good\""); in TEST() 5017 TEST_F(TestLifeCycleTest, Test1) { in TEST_F() argument 5025 // After Test1 is done and Test2 is started, there should still be in TEST_F() 5026 // only one live test object, as the object for Test1 should've been in TEST_F() [all …]
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | ntp_proto.c | 179 * Statistics counters - first the good, then the bad 399 * is intricate... in transmit() 1244 * if has_mac != 0 ... in receive() 1432 * origin timestamp is a good nonce to reliably associate the in receive() 1978 peer->flash |= TEST1; /* duplicate */ in receive() 2526 * more flashers. Leave if the packet is not good. in receive() 2536 * do it only if the packet was good! in receive() 2689 * paper at www.eecis.udel.edu/~mills for details. in process_packet() 2858 DPRINTF(2, ("packet: del %.6lf r21 %.1lf r34 %.1lf %.6lf\n", in process_packet() 2925 * E = p.epsilon_r + p.epsilon + p.psi + PHI*(s.t - p.t) + |THETA| in clock_update() [all …]
|
| /freebsd-14.2/contrib/ntp/ntpq/ |
| H A D | ntpq.c | 164 "pkt_dup", /* TEST1 */ 223 static void error (const char *, ...) NTP_PRINTF(1, 2); 605 // and there are other cases as well... in ntpqmain() 896 /* XXX ELIMINATE sendpkt similar in ntpq.c, ntpdc.c, ntp_io.c, ntptrace.c */ 1225 * So far, so good. Record this fragment, making sure it doesn't in getresponse() 1953 * goto, too much looking at BSD sources... in findcmd() 2893 ... in warning() argument 2909 ... in error() argument 3627 l = strlcpy (cp, "...", cb); in tstflags() 4187 ... in my_easprintf() argument [all …]
|