/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_format_newc.c | 89 uint64_t fs, ns; in DEFINE_TEST() local 220 fs = (uint64_t)from_hex(e + 54, 8); in DEFINE_TEST() 221 fs += PAD(fs, 4); in DEFINE_TEST() 233 e += 110 + fs + ns; in DEFINE_TEST() 255 fs += PAD(fs, 4); in DEFINE_TEST() 266 e += 110 + fs + ns; in DEFINE_TEST() 290 fs = (uint64_t)from_hex(e + 54, 8); in DEFINE_TEST() 291 fs += PAD(fs, 4); in DEFINE_TEST() 301 e += 110 + fs + ns; in DEFINE_TEST() 325 fs += PAD(fs, 4); in DEFINE_TEST() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | share_mount_001_neg.ksh | 57 log_must $ZFS set mountpoint=$oldmpt $fs 63 fs=$TESTPOOL/$TESTFS 64 oldmpt=$(get_prop mountpoint $fs) 67 log_must $ZFS set mountpoint=$propval $fs 69 log_mustnot $ZFS mount $fs 70 log_mustnot $ZFS share $fs
|
/freebsd/contrib/kyua/store/ |
H A D | layout.hpp | 73 utils::fs::path find_results(const std::string&); 74 results_id_file_pair new_db(const std::string&, const utils::fs::path&); 75 utils::fs::path new_db_for_migration(const utils::fs::path&, 77 utils::fs::path query_store_dir(void); 78 std::string test_suite_for_path(const utils::fs::path&);
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | share_mount_001_neg.ksh | 48 log_must zfs set mountpoint=$oldmpt $fs 54 fs=$TESTPOOL/$TESTFS 55 oldmpt=$(get_prop mountpoint $fs) 58 log_must zfs set mountpoint=$propval $fs 60 log_mustnot zfs mount $fs 61 log_mustnot zfs share $fs
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.get_index_props.ksh | 26 fs=$TESTPOOL/$TESTFS/testchild 27 snap=$fs@$TESTSNAP 30 destroy_dataset $fs "-R" 35 log_must zfs create -o version=5 $fs 36 create_snapshot $fs $TESTSNAP 39 log_must_program $TESTPOOL $ZCP_ROOT/synctask_core/tst.get_index_props.zcp $fs $snap $os
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 574 sys::fs::CreationDisposition Disp, sys::fs::FileAccess Access, in getFD() 589 if (Access & sys::fs::FA_Read) in getFD() 600 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream() 605 : raw_fd_ostream(Filename, EC, Disp, sys::fs::FA_Write, sys::fs::OF_None) {} in raw_fd_ostream() 614 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream() 652 sys::fs::file_status Status; in raw_fd_ostream() 878 return sys::fs::FileLocker(FD); in lock() 882 Expected<sys::fs::FileLocker> 886 return sys::fs::FileLocker(FD); in tryLockFor() 930 sys::fs::FA_Write | sys::fs::FA_Read, in raw_fd_stream() [all …]
|
/freebsd/contrib/kyua/utils/process/ |
H A D | executor_test.cpp | 66 namespace fs = utils::fs; 143 child_delete_all(const fs::path& control_directory) in child_delete_all() 199 child_pause(const fs::path& /* control_directory */) in child_pause() 215 child_print(const fs::path& /* control_directory */) in child_print() 257 const fs::path& /* control_directory */) in child_spawn_blocking_child() 267 const fs::path name = fs::path(utils::getenv("CONTROL_DIR").get()) / in child_spawn_blocking_child() 470 ATF_REQUIRE(!fs::exists(stdout_file)); in ATF_TEST_CASE_BODY() 471 ATF_REQUIRE(!fs::exists(stderr_file)); in ATF_TEST_CASE_BODY() 722 std::vector< fs::path > paths; in ATF_TEST_CASE_BODY() 775 optional< fs::path > root_work_directory; in do_signal_handling_test() [all …]
|
/freebsd/contrib/kyua/utils/logging/ |
H A D | operations_test.cpp | 46 namespace fs = utils::fs; 54 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181000.log"), in ATF_TEST_CASE_BODY() 55 logging::generate_log_name(fs::path("/some/dir"), "foobar")); in ATF_TEST_CASE_BODY() 61 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181000.log"), in ATF_TEST_CASE_BODY() 75 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181500.log"), in ATF_TEST_CASE_BODY() 82 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181500.log"), in ATF_TEST_CASE_BODY() 98 logging::set_persistency("debug", fs::path("test.log")); in ATF_TEST_CASE_BODY() 130 logging::set_persistency("debug", fs::path("test.log")); in ATF_TEST_CASE_BODY() 152 logging::set_persistency("debug", fs::path("test.log")); in ATF_TEST_CASE_BODY() 190 logging::set_persistency(level, fs::path(path)); in create_log() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_fake_stack.cpp | 196 void SetTLSFakeStack(FakeStack *fs) { in SetTLSFakeStack() argument 197 fake_stack_tls = fs; in SetTLSFakeStack() 201 void SetTLSFakeStack(FakeStack *fs) { } in SetTLSFakeStack() argument 212 return fs; in GetFakeStackFast() 220 return fs; in GetFakeStackFastAlways() 225 FakeStack *fs = GetFakeStackFast(); in OnMalloc() local 226 if (!fs) in OnMalloc() 229 fs->Allocate(fs->stack_size_log(), class_id, GET_CURRENT_FRAME()); in OnMalloc() 239 if (!fs) in OnMallocAlways() 242 fs->Allocate(fs->stack_size_log(), class_id, GET_CURRENT_FRAME()); in OnMallocAlways() [all …]
|
/freebsd/tools/test/stress2/tools/ |
H A D | fstool.c | 43 static int edirs, dirs, files, fs; variable 66 len = fs; in mkDir2() 69 len = arc4random() % fs + 1; in mkDir2() 168 fs = 1024; in main() 194 sscanf(optarg, "%d%c", &fs, &ch); in main() 196 fs = fs * 1024; in main() 198 fs = fs * 1024 * 1024; in main() 224 if ((buffer = calloc(1, fs)) == NULL) in main() 225 err(1, "calloc(%d)", fs); in main()
|
/freebsd/contrib/kyua/drivers/ |
H A D | report_junit_test.cpp | 52 namespace fs = utils::fs; 104 const model::context context(fs::path("/root"), env); in add_context() 124 "plain", fs::path(prog), fs::path("/root"), "suite"); in add_tests() 149 tx.put_test_case_file("__STDOUT__", fs::path("fake-out"), tc_id); in add_tests() 164 "plain", fs::path("dir1/dir2/program"), fs::path("/root"), "suite") in ATF_TEST_CASE_BODY() 206 .add_required_file(fs::path("file1")) in ATF_TEST_CASE_BODY() 208 .add_required_program(fs::path("prog1")) in ATF_TEST_CASE_BODY() 254 fs::path("test.db")); in ATF_TEST_CASE_BODY() 263 drivers::scan_results::drive(fs::path("test.db"), in ATF_TEST_CASE_BODY() 295 fs::path("test.db")); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/release/tools/ |
H A D | vmimage.subr | 188 -o fs=zroot\;mountpoint=none \ 189 -o fs=zroot/ROOT\;mountpoint=none \ 190 -o fs=zroot/ROOT/default\;mountpoint=/ \ 191 -o fs=zroot/home\;mountpoint=/home \ 194 -o fs=zroot/usr/ports\;setuid=off \ 195 -o fs=zroot/usr/src \ 196 -o fs=zroot/usr/obj \ 198 -o fs=zroot/var/audit\;setuid=off\;exec=off \ 200 -o fs=zroot/var/log\;setuid=off\;exec=off \ 201 -o fs=zroot/var/mail\;atime=on \ [all …]
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | exceptions_test.cpp | 38 namespace fs = utils::fs; 44 const fs::error e("Some text"); in ATF_TEST_CASE_BODY() 52 const fs::invalid_path_error e("some/invalid/path", "The reason"); in ATF_TEST_CASE_BODY() 62 const fs::join_error e("dir1/file1", "/dir2/file2", "The reason"); in ATF_TEST_CASE_BODY() 73 const fs::system_error e("Call failed", ENOENT); in ATF_TEST_CASE_BODY() 83 const fs::unsupported_operation_error e("Some text"); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/kyua/model/ |
H A D | test_program.hpp | 61 test_program(const std::string&, const utils::fs::path&, 62 const utils::fs::path&, const std::string&, 67 const utils::fs::path& root(void) const; 68 const utils::fs::path& relative_path(void) const; 69 const utils::fs::path absolute_path(void) const; 93 test_program_builder(const std::string&, const utils::fs::path&, 94 const utils::fs::path&, const std::string&);
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_007_neg.ksh | 60 fs=$TESTPOOL/$TESTFS 61 snap1=$fs@snap1 62 snap2=$fs@snap2 65 datasetexists $fs || log_must zfs create $fs 67 mntpnt=$(get_prop mountpoint $fs) 77 log_mustnot eval "zfs receive -F $fs < $ibackup"
|
H A D | zfs_receive_003_pos.ksh | 63 fs=$TESTPOOL/$TESTFS; snap1=$fs@snap1; snap2=$fs@snap2 65 mntpnt=$(get_prop mountpoint $fs) 75 log_must eval "zfs receive $fs < $ibackup" 83 log_mustnot eval "zfs receive $fs < $ibackup" 88 log_must eval "zfs receive -F $fs < $ibackup"
|
/freebsd/contrib/kyua/cli/ |
H A D | cmd_list_test.cpp | 41 namespace fs = utils::fs; 51 "mock", fs::path("the/test-program"), fs::path("root"), "suite") in ATF_TEST_CASE_BODY() 68 "mock", fs::path("hello/world"), fs::path("root"), "the-suite") in ATF_TEST_CASE_BODY() 89 "mock", fs::path("hello/world"), fs::path("root"), "the-suite") in ATF_TEST_CASE_BODY()
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/ |
H A D | zfs_receive_006_pos.ksh | 84 fs=$TESTPOOL/$TESTFS/$TESTFS1 85 snap1=$fs@snap1 86 snap2=$fs@snap2 92 log_must $ZFS create $fs 94 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" 112 is_global_zone || fs=$TESTPOOL/${ZONE_CTR}0/$TESTFS/$TESTFS1 113 log_must $ZFS destroy -rf $fs
|
/freebsd/sbin/fsck/ |
H A D | preen.c | 82 struct fstab *fs; in checkfstab() local 103 while ((fs = getfsent()) != NULL) { in checkfstab() 104 name = fs->fs_spec; in checkfstab() 105 if (fs->fs_passno > passno && fs->fs_passno < nextpass) in checkfstab() 106 nextpass = fs->fs_passno; in checkfstab() 108 if (passno != fs->fs_passno) in checkfstab() 111 if ((*docheck)(fs) == 0) in checkfstab() 125 sumstatus = (*checkit)(fs->fs_vfstype, in checkfstab() 126 name, fs->fs_file, NULL, NULL); in checkfstab() 137 addpart(fs->fs_vfstype, name, fs->fs_file, in checkfstab() [all …]
|
/freebsd/contrib/kyua/utils/ |
H A D | stacktrace.hpp | 49 utils::optional< utils::fs::path > find_gdb(void); 51 utils::optional< utils::fs::path > find_core(const utils::fs::path&, 53 const utils::fs::path&); 57 void dump_stacktrace(const utils::fs::path&, 61 void dump_stacktrace_if_available(const utils::fs::path&,
|
/freebsd/contrib/pjdfstest/tests/ |
H A D | conf | 29 #fs=`df -T . | tail -1 | awk '{print $2}'` 31 fs=`mount | grep "on $mountpoint" | sed -e 's/.*(//' -e 's/,.*//g' | tr '[:lower:]' '[:upper:]'` 35 #fs=`df -T . | tail -1 | awk '{print $2}'` 37 fs=`mount -p | awk '$2 == "'$mountpoint'" { print toupper($3) }'` 42 fs=`mount -v | ${GREP} -E "^${pattern}" | awk '{print $5}' | \ 47 fs=`df -PT . | tail -1 | awk '{print toupper($2)}'` 55 #fs="UFS" 57 if [ -z "${fs}" ]; then
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_share/ |
H A D | zfs_share_001_pos.ksh | 49 set -A fs \ 58 log_must zfs set sharenfs=off ${fs[((i+1))]} 59 unshare_fs ${fs[i]} 120 test_share ${fs[i]} ${fs[((i + 1))]} 132 unshare_fs ${fs[i]} 150 is_shared ${fs[i]} || \ 153 is_exported ${fs[i]} || \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_006_pos.ksh | 47 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 48 typeset fssnap=$fs@snap 73 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 74 typeset fssnap=$fs@snap 99 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 100 typeset fssnap=$fs@snap 113 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 114 typeset fssnap=$fs@snap
|
H A D | zfs_snapshot_007_neg.ksh | 47 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR $TESTPOOL ; do 48 typeset fssnap=$fs@snap 83 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR $TESTPOOL ; do 84 typeset fssnap=$fs@snap 111 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR $TESTPOOL ; do 112 typeset fssnap=$fs@snap 123 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR $TESTPOOL ; do 124 typeset fssnap=$fs@snap
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_006_pos.ksh | 56 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 57 typeset fssnap=$fs@snap 89 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 90 typeset fssnap=$fs@snap 115 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 116 typeset fssnap=$fs@snap 129 for fs in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL $TESTPOOL ; do 130 typeset fssnap=$fs@snap
|