Searched refs:testfile (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/
H A Ddosmode.ksh49 rm -f $testfile
67 testfile=$TESTDIR/testfile
83 log_must touch $testfile
84 log_must hasflag uarch $testfile
85 log_must $changeflags nouarch $testfile
86 log_must hasflag - $testfile
87 log_must touch $testfile
89 log_must hasflag uarch $testfile
91 log_must rm $testfile
[all...]
/freebsd-current/tests/sys/vfs/
H A Dtrailing_slash.sh9 testfile="$TMPDIR/testfile-$$"
13 $testfile:$testlink:$testfile:0
14 $testfile:$testlink:$testfile/:1
15 $testfile:$testlink:$testlink:0
16 $testfile:$testlink:$testlink/:1
17 $testfile/:$testlink:$testlink:1
18 $testfile/
[all...]
/freebsd-current/contrib/file/tests/
H A DMakefile.am7 android-vdex-1.testfile \
9 android-vdex-2.testfile \
11 arj.testfile \
13 bcachefs.testfile \
15 bcachefs2.testfile \
17 cl8m8ocofedso.testfile \
19 cmd1.testfile \
21 cmd2.testfile \
23 cmd3.testfile \
25 cmd4.testfile \
[all...]
H A DMakefile.in300 android-vdex-1.testfile \
302 android-vdex-2.testfile \
304 arj.testfile \
306 bcachefs.testfile \
308 bcachefs2.testfile \
310 cl8m8ocofedso.testfile \
312 cmd1.testfile \
314 cmd2.testfile \
316 cmd3.testfile \
318 cmd4.testfile \
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/
H A Dxattr_003_neg.ksh48 rm -f $testfile $tempfile
54 typeset testfile=$TESTDIR/testfile.$$
57 log_must touch $testfile
58 create_xattr $testfile passwd /etc/passwd
60 log_must chmod 000 $testfile
62 log_mustnot user_run $ZFS_USER runat $testfile cat passwd
63 log_mustnot user_run $ZFS_USER runat $testfile cp /etc/passwd .
67 get_xattr passwd $testfile >$tempfile
74 set_xattr_stdin passwd $testfile </et
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_015_pos.ksh77 log_mustnot touch $dir/testfile
87 testfile=$mntpnt/testfile.$cnt
88 log_must mkfile 1M $testfile
103 testfile=$mntpnt/testfile.$i
105 if [[ ! -f $testfile ]]; then
106 log_fail "ERROR: $testfile should exists."
109 if [[ -f $testfile ]]; then
110 log_fail "ERROR: $testfile shoul
[all...]
/freebsd-current/contrib/bc/tests/
H A Derror.sh66 testfile="$testdir/$d/errors/$t"
67 check_file_arg "$testfile"
112 printf '%s\n' "$halt" 2> /dev/null | "$exe" "$@" $opts -c "$testfile" 2> "$out" > /dev/null
115 checkerrtest "$d" "$err" "$testfile" "$out" "$exebase" > /dev/null
121 printf '%s\n' "$halt" 2> /dev/null | "$exe" "$@" $opts -C "$testfile" 2> "$out" > /dev/null
124 checkerrtest "$d" "$err" "$testfile" "$out" "$exebase" > /dev/null
130 cat "$testfile" 2> /dev/null | "$exe" "$@" $opts -c 2> "$out" > /dev/null
133 checkerrtest "$d" "$err" "$testfile" "$out" "$exebase"
139 cat "$testfile" 2> /dev/null | "$exe" "$@" $opts -C 2> "$out" > /dev/null
142 checkerrtest "$d" "$err" "$testfile" "
[all...]
H A Derrors.sh114 for testfile in $testdir/$d/*errors.txt; do
116 if [ -z "${testfile##*$read_errors*}" ]; then
122 if [ -z "${testfile##*$posix*}" ]; then
143 base=$(basename "$testfile")
158 done < "$testfile"
/freebsd-current/tests/sys/cddl/zfs/tests/snapshot/
H A Dsnapshot_015_pos.ksh87 log_mustnot $TOUCH $dir/testfile
97 testfile=$mntpnt/testfile.$cnt
98 log_must $MKFILE 1M $testfile
113 testfile=$mntpnt/testfile.$i
115 if [[ ! -f $testfile ]]; then
116 log_fail "ERROR: $testfile should exists."
119 if [[ -f $testfile ]]; then
120 log_fail "ERROR: $testfile shoul
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_008_pos.ksh52 if [[ -f $testfile ]]; then
53 log_must rm -f $testfile
69 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1
70 log_must mkfile 1M $testfile $testfile1
82 log_mustnot ls $testfile
93 log_must ls $testfile
/freebsd-current/tests/sys/cddl/zfs/tests/acl/trivial/
H A Dzfs_acl_chmod_001_pos.ksh117 log_must usr_exec $TOUCH $testfile
118 log_must test_chmod_mapping $testfile
121 log_must $CHMOD A+user:$ZFS_ACL_STAFF2:write_acl:allow $testfile
132 log_must usr_exec $CHMOD A+${acl} $testfile
136 log_must test_chmod_mapping $testfile
142 log_must usr_exec $RM $testfile
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/
H A Dzfs_mount_008_pos.ksh63 if [[ -f $testfile ]]; then
64 log_must $RM -f $testfile
80 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1
81 log_must $MKFILE 1M $testfile $testfile1
91 log_mustnot $LS $testfile
102 log_must $LS $testfile
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dlargest_file.c65 char *testfile; local
80 testfile = strdup(argv[1]);
81 if (testfile == NULL)
84 fd = open(testfile, O_CREAT | O_RDWR, mode);
87 perror("Failed to create testfile");
88 free(testfile);
95 perror("Failed to seek to end of testfile");
129 (void) unlink(testfile);
130 free(testfile);
138 (void) printf("%s <testfile>\
[all...]
/freebsd-current/tests/sys/cddl/zfs/bin/
H A Dlargest_file.c59 char *testfile; local
67 testfile = strdup(argv[1]);
69 fd = open(testfile, O_CREAT | O_RDWR);
71 perror("Failed to create testfile");
78 perror("Failed to seek to end of testfile");
113 (void) unlink(testfile);
114 free(testfile);
121 (void) printf("%s <testfile>\n", name);
/freebsd-current/usr.bin/file/tests/
H A Dfile_test.sh32 for testfile in "${srcdir}"/*.testfile; do
33 test_name="${testfile%.testfile}"
54 file ${file_args} --brief "$testfile"
H A DMakefile5 _files!= echo ${SRCDIR}/*.testfile ${SRCDIR}/*.flags ${SRCDIR}/*.result ${SRCDIR}/*.magic
/freebsd-current/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_tar_002_pos.ksh88 log_note "Create a file: $testfile, and directory: $testdir, in zfs filesystem. " \
97 log_must usr_exec $TOUCH $testfile
100 log_must usr_exec $RUNAT $testfile $CP $MYTESTFILE attr.0
106 log_must usr_exec $CHMOD ${ops[0]} $testfile
110 log_must $TAR cpf@ $TARFILE ${testfile#$TESTDIR/} ${testdir#$TESTDIR/}
117 for obj in $testfile $testdir; do
H A Dzfs_acl_chmod_rwx_001_pos.ksh122 log_must usr_exec $TOUCH $testfile
123 test_chmod_ACE_list $opt $num $ace $testfile
124 log_must $RM -f $testfile
H A Dzfs_acl_chmod_001_neg.ksh134 for node in $testfile $testdir; do
135 log_must usr_exec $TOUCH $testfile
142 log_must usr_exec $RM -rf $testfile $testdir
H A Dzfs_acl_chmod_rwx_003_pos.ksh136 log_must usr_exec $TOUCH $testfile
137 test_chmod_basic_access $testfile ${users[((i+1))]} ${users[((i+2))]}
141 log_must usr_exec $RM -rf $testfile $testdir
H A Dzfs_acl_cp_002_pos.ksh88 for obj in $testfile $testdir; do
90 log_must usr_exec $TOUCH $testfile
93 log_must usr_exec $RUNAT $testfile $CP $MYTESTFILE attr.0
/freebsd-current/contrib/netbsd-tests/bin/dd/
H A Dt_dd.sh116 echo TEST1234 > testfile
118 dd if=/dev/zero of=testfile seek=1 bs=8k count=1
119 atf_check -s exit:0 -e ignore -o match:'^TEST1234$' dd if=testfile
120 eval $(stat -s testfile)
/freebsd-current/crypto/openssl/test/testutil/
H A Dstanza.c19 int test_start_file(STANZA *s, const char *testfile) argument
21 TEST_info("Reading %s", testfile);
22 set_test_title(testfile);
24 if (!TEST_ptr(s->fp = BIO_new_file(testfile, "r")))
26 s->test_file = testfile;
/freebsd-current/crypto/openssl/fuzz/
H A Dtest-corpus.c37 static void testfile(const char *pathname) function
90 testfile(pathname);
96 testfile(argv[n]);
/freebsd-current/contrib/netbsd-tests/dev/cgd/
H A Dt_cgd.sh53 atf_check -s exit:0 -e ignore dd if=${d}/t_cgd of=testfile count=2
54 atf_check -s exit:0 -e ignore -o file:testfile \
91 atf_check -s exit:0 -e ignore dd if=${d}/t_cgd of=testfile count=2
92 atf_check -s exit:0 -e ignore -o not-file:testfile \

Completed in 140 milliseconds

1234