Home
last modified time | relevance | path

Searched refs:TESTSTR (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/netbsd-tests/rump/rumpkern/
H A Dt_copy.c65 #define TESTSTR "jippii, lisaa puuroa" macro
70 char buf[sizeof(TESTSTR)+1]; in dotest()
78 ATF_REQUIRE_EQ(thefun(TESTSTR, buf, sizeof(buf), &len), 0); in dotest()
79 ATF_REQUIRE_EQ(len, sizeof(TESTSTR)); in dotest()
80 ATF_REQUIRE_STREQ(TESTSTR, buf); in dotest()
84 ATF_REQUIRE_EQ(thefun(TESTSTR, buf, sizeof(buf)-1, &len), 0); in dotest()
85 ATF_REQUIRE_EQ(len, sizeof(TESTSTR)); in dotest()
86 ATF_REQUIRE_STREQ(TESTSTR, buf); in dotest()
90 ATF_REQUIRE_EQ(thefun(TESTSTR, buf, sizeof(buf)-2, NULL), ENAMETOOLONG); in dotest()
/freebsd/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fmemopen.c74 #define TESTSTR(s) { s, sizeof(s)-1 } macro
75 TESTSTR("\0he quick brown fox jumps over the lazy dog"),
76 TESTSTR("T\0e quick brown fox jumps over the lazy dog"),
77 TESTSTR("Th\0 quick brown fox jumps over the lazy dog"),
78 TESTSTR("The\0quick brown fox jumps over the lazy dog"),
79 TESTSTR("The \0uick brown fox jumps over the lazy dog"),
80 TESTSTR("The q\0ick brown fox jumps over the lazy dog"),
81 TESTSTR("The qu\0ck brown fox jumps over the lazy dog"),
82 TESTSTR("The qui\0k brown fox jumps over the lazy dog"),
83 TESTSTR("The quic\0 brown fox jumps over the lazy dog"),
[all …]
/freebsd/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_forkcli.c76 #define TESTSTR "i am your fatherrrrrrr" macro
77 #define TESTSLEN (sizeof(TESTSTR)-1)
103 if (strcmp(TESTSTR, buf) != 0) in pipecomm()
107 if (rump_sys_write(pipetti[1], TESTSTR, TESTSLEN) != TESTSLEN) in pipecomm()
/freebsd/tests/sys/cddl/zfs/tests/acl/cifs/
H A Dcifs_attr_003_pos.ksh222 $EVAL "$ECHO '$TESTSTR' > $object"
255 $EVAL "$ECHO '$TESTSTR' >> $object"
318 $EVAL "$RUNAT $object \"$ECHO '$TESTSTR' > $TESTATTR\""
320 $EVAL "$RUNAT $object \"$ECHO '$TESTSTR' >> $TESTATTR\""
581 TESTSTR="ZFS test suites"
590 $ECHO "$TESTSTR" > $TESTFILE
/freebsd/contrib/netbsd-tests/fs/vfs/
H A Dt_io.c44 #define TESTSTR "this is a string. collect enough and you'll have Em" macro
45 #define TESTSZ sizeof(TESTSTR)
93 ATF_REQUIRE_EQ(rump_sys_write(fd, TESTSTR, TESTSZ), TESTSZ); in extendbody()
95 ATF_REQUIRE_STREQ(buf, TESTSTR); in extendbody()