/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/ |
H A D | dosmode.ksh | 49 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 92 log_must user_run $owner touch $testfile [all …]
|
/freebsd/contrib/file/tests/ |
H A D | Makefile.am | 7 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 D | Makefile.in | 300 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/tests/sys/vfs/ |
H A D | trailing_slash.sh | 9 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/:$testlink:$testlink/:1 21 touch $testfile || exit 1 22 trap "rm $testfile $testlink" EXIT
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
H A D | xattr_003_neg.ksh | 48 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 </etc/group 76 log_must chmod 644 $testfile [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/snapshot/ |
H A D | snapshot_015_pos.ksh | 87 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 should not exists."
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/ |
H A D | snapshot_015_pos.ksh | 77 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 should not exists."
|
/freebsd/contrib/bc/tests/ |
H A D | error.sh | 66 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 D | errors.sh | 114 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/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
H A D | largest_file.c | 65 char *testfile; in main() local 80 testfile = strdup(argv[1]); in main() 81 if (testfile == NULL) in main() 84 fd = open(testfile, O_CREAT | O_RDWR, mode); in main() 88 free(testfile); in main() 129 (void) unlink(testfile); in main() 130 free(testfile); in main()
|
/freebsd/tests/sys/cddl/zfs/tests/acl/trivial/ |
H A D | zfs_acl_chmod_001_pos.ksh | 117 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/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
H A D | zfs_mount_008_pos.ksh | 63 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_008_pos.ksh | 52 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/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
H A D | zfs_acl_tar_002_pos.ksh | 88 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 D | zfs_acl_chmod_rwx_004_pos.ksh | 134 log_must usr_exec $TOUCH $testfile 136 log_must usr_exec $CHMOD 755 $testfile $testdir 138 for node in $testfile $testdir; do 146 log_must usr_exec $RM -rf $testfile $testdir
|
H A D | zfs_acl_chmod_001_neg.ksh | 134 for node in $testfile $testdir; do 135 log_must usr_exec $TOUCH $testfile 142 log_must usr_exec $RM -rf $testfile $testdir
|
H A D | zfs_acl_chmod_rwx_003_pos.ksh | 136 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
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | largest_file.c | 59 char *testfile; in main() local 67 testfile = strdup(argv[1]); in main() 69 fd = open(testfile, O_CREAT | O_RDWR); in main() 113 (void) unlink(testfile); in main() 114 free(testfile); in main()
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | stanza.c | 19 int test_start_file(STANZA *s, const char *testfile) in test_start_file() argument 21 TEST_info("Reading %s", testfile); in test_start_file() 22 set_test_title(testfile); in test_start_file() 24 if (!TEST_ptr(s->fp = BIO_new_file(testfile, "r"))) in test_start_file() 26 s->test_file = testfile; in test_start_file()
|
/freebsd/contrib/netbsd-tests/bin/dd/ |
H A D | t_dd.sh | 116 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/contrib/netbsd-tests/dev/raidframe/ |
H A D | t_raid.sh | 101 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4 116 atf_check -s exit:0 -o file:testfile -e ignore \ 189 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4 204 atf_check -s exit:0 -o file:testfile -e ignore \ 239 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4 255 atf_check -s exit:0 -o file:testfile -e ignore \ 289 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4 305 atf_check -s exit:0 -o file:testfile -e ignore \
|
/freebsd/usr.bin/file/tests/ |
H A D | file_test.sh | 32 for testfile in "${srcdir}"/*.testfile; do 54 file ${file_args} --brief "$testfile"
|
/freebsd/contrib/netbsd-tests/dev/cgd/ |
H A D | t_cgd.sh | 53 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 \
|
/freebsd/crypto/openssl/fuzz/ |
H A D | test-corpus.c | 37 static void testfile(const char *pathname) in testfile() function 90 testfile(pathname); in main() 96 testfile(argv[n]); in main()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_property/ |
H A D | zfs_written_property_001_pos.ksh | 73 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS1/testfile.$i bs=1M \ 117 log_must rm /$TESTPOOL/$TESTFS1/testfile.3 139 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS1/testfile.3 bs=1M \ 164 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS1/snap1.clone/testfile bs=1M \ 203 log_must dd if=/dev/urandom of=/$ds/testfile bs=1M count=$blocks 216 log_must dd if=/dev/urandom of=/$ds/testfile bs=1M \
|