/coreutils/tests/cp/ |
D | cp-mv-backup.sh | 37 $prog --backup=$opt x y || fail=1 38 echo $initial_files $opt: $(ls [xy]*); rm -f x y y~ y.~?~ 44 x none: x y 45 x off: x y 46 x numbered: x y 47 x t: x y 48 x existing: x y 49 x nil: x y 50 x simple: x y 51 x never: x y [all …]
|
/coreutils/src/ |
D | mv.c | 87 rm_option_init (struct rm_options *x) in rm_option_init() argument 89 x->ignore_missing_files = false; in rm_option_init() 90 x->remove_empty_directories = true; in rm_option_init() 91 x->recursive = true; in rm_option_init() 92 x->one_file_system = false; in rm_option_init() 96 x->interactive = RMI_NEVER; in rm_option_init() 97 x->stdin_tty = false; in rm_option_init() 99 x->verbose = false; in rm_option_init() 105 x->require_restore_cwd = true; in rm_option_init() 109 x->root_dev_ino = get_root_dev_ino (&dev_ino_buf); in rm_option_init() [all …]
|
D | cp.c | 304 struct dir_attr *attr_list, const struct cp_options *x) in re_protect() argument 326 if (x->preserve_timestamps) in re_protect() 341 if (x->preserve_ownership) in re_protect() 346 if (! chown_failure_ok (x)) in re_protect() 358 if (x->preserve_mode) in re_protect() 403 const struct cp_options *x) in make_dir_parents_private() argument 450 if (missing_dir || x->preserve_ownership || x->preserve_mode in make_dir_parents_private() 451 || x->preserve_timestamps) in make_dir_parents_private() 479 missing_dir, x)) in make_dir_parents_private() 500 & (x->preserve_ownership in make_dir_parents_private() [all …]
|
D | rm.c | 194 rm_option_init (struct rm_options *x) in rm_option_init() argument 196 x->ignore_missing_files = false; in rm_option_init() 197 x->interactive = RMI_SOMETIMES; in rm_option_init() 198 x->one_file_system = false; in rm_option_init() 199 x->remove_empty_directories = false; in rm_option_init() 200 x->recursive = false; in rm_option_init() 201 x->root_dev_ino = nullptr; in rm_option_init() 202 x->preserve_all_root = false; in rm_option_init() 203 x->stdin_tty = isatty (STDIN_FILENO); in rm_option_init() 204 x->verbose = false; in rm_option_init() [all …]
|
D | tac-pipe.c | 51 buf_init_from_stdin (Buf *x, char eol_byte) in buf_init_from_stdin() argument 56 #define OBS (&(x->obs)) in buf_init_from_stdin() 113 x->n_bufs = obstack_object_size (OBS) / sizeof (x->p[0]); in buf_init_from_stdin() 114 x->p = (struct B_pair *) obstack_finish (OBS); in buf_init_from_stdin() 118 if (x->n_bufs >= 2 in buf_init_from_stdin() 119 && x->p[x->n_bufs - 1].start == x->p[x->n_bufs - 1].one_past_end) in buf_init_from_stdin() 120 free (x->p[--(x->n_bufs)].start); in buf_init_from_stdin() 126 buf_free (Buf *x) in buf_free() argument 128 for (size_t i = 0; i < x->n_bufs; i++) in buf_free() 129 free (x->p[i].start); in buf_free() [all …]
|
D | copy.c | 125 const struct cp_options *x, 130 static bool owner_failure_ok (struct cp_options const *x); 184 emit_debug (const struct cp_options *x) in emit_debug() argument 186 if (! x->hard_link && ! x->symbolic_link && x->data_copy_required) in emit_debug() 761 char const *dst_path, int dst_fd, struct cp_options const *x) in copy_attr() argument 763 bool all_errors = (!x->data_copy_required || x->require_preserve_xattr); in copy_attr() 764 bool some_errors = (!all_errors && !x->reduce_diagnostics); in copy_attr() 766 = (x->preserve_security_context || x->set_security_context in copy_attr() 797 MAYBE_UNUSED struct cp_options const *x) in copy_attr() argument 820 const struct cp_options *x, in copy_dir() argument [all …]
|
D | install.c | 170 const struct cp_options *x) in need_copy() argument 215 if (selinux_enabled && x->preserve_security_context) in need_copy() 258 cp_option_init (struct cp_options *x) in cp_option_init() argument 260 cp_options_default (x); in cp_option_init() 261 x->copy_as_regular = true; in cp_option_init() 262 x->reflink_mode = REFLINK_AUTO; in cp_option_init() 263 x->dereference = DEREF_ALWAYS; in cp_option_init() 264 x->unlink_dest_before_opening = true; in cp_option_init() 265 x->unlink_dest_after_failed_open = false; in cp_option_init() 266 x->hard_link = false; in cp_option_init() [all …]
|
/coreutils/tests/mv/ |
D | hard-3.sh | 37 mkdir -p x dst/x || framework_failure_ 38 touch dst/x/b || framework_failure_ 39 chmod a-w dst/x 41 ln a x/b || framework_failure_ 47 cp --preserve=link --parents a x/b c dst 2> /dev/null && fail=1 51 test -f x/b || fail=1 57 test -f x/b || fail=1 61 ia=$(ls -i a) || fail=1; set x $ia; ia=$2 62 ic=$(ls -i c) || fail=1; set x $ic; ic=$2 66 ib=$(ls -i x/b) || fail=1; set x $ib; ib=$2
|
/coreutils/tests/rmdir/ |
D | ignore.sh | 34 mkdir -p x/y || framework_failure_ 35 chmod a-w x || framework_failure_ 38 returns_ 1 rmdir --ignore-fail-on-non-empty x/y || fail=1 41 test -d x/y || fail=1 44 touch x/y/z || framework_failure_ 45 rmdir --ignore-fail-on-non-empty x/y || fail=1 46 test -d x/y || fail=1 50 rm x/y/z || framework_failure_ 51 chmod a-r x/y || framework_failure_ 52 returns_ 1 rmdir --ignore-fail-on-non-empty x/y || fail=1 [all …]
|
/coreutils/tests/pr/ |
D | W35b3l24f-lm | 3 -- Date/Time -- x Page 1 13 -- Date/Time -- x Page 2 19 -- Date/Time -- x Page 3 29 -- Date/Time -- x Page 4 35 -- Date/Time -- x Page 5 45 -- Date/Time -- x Page 6 51 -- Date/Time -- x Page 7 57 -- Date/Time -- x Page 8 67 -- Date/Time -- x Page 9
|
D | W35a3l24f-lm | 3 -- Date/Time -- x Page 1 13 -- Date/Time -- x Page 2 19 -- Date/Time -- x Page 3 29 -- Date/Time -- x Page 4 35 -- Date/Time -- x Page 5 45 -- Date/Time -- x Page 6 51 -- Date/Time -- x Page 7 57 -- Date/Time -- x Page 8 67 -- Date/Time -- x Page 9
|
D | a2l15-FF | 3 -- Date/Time -- x Page 1 18 -- Date/Time -- x Page 2 33 -- Date/Time -- x Page 3 48 -- Date/Time -- x Page 4 63 -- Date/Time -- x Page 5 78 -- Date/Time -- x Page 6 93 -- Date/Time -- x Page 7 108 -- Date/Time -- x Page 8 123 -- Date/Time -- x Page 9 138 -- Date/Time -- x Page 10 [all …]
|
D | b2l15-FF | 3 -- Date/Time -- x Page 1 18 -- Date/Time -- x Page 2 33 -- Date/Time -- x Page 3 48 -- Date/Time -- x Page 4 63 -- Date/Time -- x Page 5 78 -- Date/Time -- x Page 6 93 -- Date/Time -- x Page 7 108 -- Date/Time -- x Page 8 123 -- Date/Time -- x Page 9 138 -- Date/Time -- x Page 10 [all …]
|
D | n+6b3l13f-FF | 3 -- Date/Time -- x Page 6 9 -- Date/Time -- x Page 7 17 -- Date/Time -- x Page 8 24 -- Date/Time -- x Page 9 30 -- Date/Time -- x Page 10 36 -- Date/Time -- x Page 11 44 -- Date/Time -- x Page 12 51 -- Date/Time -- x Page 13
|
D | W20l24f-ll | 3 -- Date/Time -- x Page 1 22 -- Date/Time -- x Page 2 28 -- Date/Time -- x Page 3 47 -- Date/Time -- x Page 4 53 -- Date/Time -- x Page 5 72 -- Date/Time -- x Page 6 78 -- Date/Time -- x Page 7 84 -- Date/Time -- x Page 8 103 -- Date/Time -- x Page 9
|
D | a3l24f-lm | 3 -- Date/Time -- x Page 1 13 -- Date/Time -- x Page 2 19 -- Date/Time -- x Page 3 29 -- Date/Time -- x Page 4 35 -- Date/Time -- x Page 5 45 -- Date/Time -- x Page 6 51 -- Date/Time -- x Page 7 57 -- Date/Time -- x Page 8 67 -- Date/Time -- x Page 9
|
D | b3l24f-lm | 3 -- Date/Time -- x Page 1 13 -- Date/Time -- x Page 2 19 -- Date/Time -- x Page 3 29 -- Date/Time -- x Page 4 35 -- Date/Time -- x Page 5 45 -- Date/Time -- x Page 6 51 -- Date/Time -- x Page 7 57 -- Date/Time -- x Page 8 67 -- Date/Time -- x Page 9
|
D | n+3ml20f-bl-FF | 3 -- Date/Time -- x Page 3 9 -- Date/Time -- x Page 4 24 -- Date/Time -- x Page 5 33 -- Date/Time -- x Page 6 39 -- Date/Time -- x Page 7 54 -- Date/Time -- x Page 8 63 -- Date/Time -- x Page 9 69 -- Date/Time -- x Page 10 75 -- Date/Time -- x Page 11 90 -- Date/Time -- x Page 12 [all …]
|
D | W26l24f-ll | 3 -- Date/Time -- x Page 1 22 -- Date/Time -- x Page 2 28 -- Date/Time -- x Page 3 47 -- Date/Time -- x Page 4 53 -- Date/Time -- x Page 5 72 -- Date/Time -- x Page 6 78 -- Date/Time -- x Page 7 84 -- Date/Time -- x Page 8 103 -- Date/Time -- x Page 9
|
D | n+2l24f-bl | 3 -- Date/Time -- x Page 2 9 -- Date/Time -- x Page 3 28 -- Date/Time -- x Page 4 34 -- Date/Time -- x Page 5 53 -- Date/Time -- x Page 6 59 -- Date/Time -- x Page 7 65 -- Date/Time -- x Page 8 84 -- Date/Time -- x Page 9 103 -- Date/Time -- x Page 10
|
D | W27l24f-ll | 3 -- Date/Time -- x Page 1 22 -- Date/Time -- x Page 2 28 -- Date/Time -- x Page 3 47 -- Date/Time -- x Page 4 53 -- Date/Time -- x Page 5 72 -- Date/Time -- x Page 6 78 -- Date/Time -- x Page 7 84 -- Date/Time -- x Page 8 103 -- Date/Time -- x Page 9
|
D | nSml20-bl-FF | 3 -- Date/Time -- x Page 1 18 -- Date/Time -- x Page 2 27 -- Date/Time -- x Page 3 33 -- Date/Time -- x Page 4 48 -- Date/Time -- x Page 5 57 -- Date/Time -- x Page 6 63 -- Date/Time -- x Page 7 78 -- Date/Time -- x Page 8 87 -- Date/Time -- x Page 9 93 -- Date/Time -- x Page 10 [all …]
|
D | nSml20-t-t-FF | 3 -- Date/Time -- x Page 1 18 -- Date/Time -- x Page 2 33 -- Date/Time -- x Page 3 48 -- Date/Time -- x Page 4 63 -- Date/Time -- x Page 5 78 -- Date/Time -- x Page 6 93 -- Date/Time -- x Page 7 108 -- Date/Time -- x Page 8 117 -- Date/Time -- x Page 9 123 -- Date/Time -- x Page 10 [all …]
|
D | a3f-FF | 3 -- Date/Time -- x Page 1 13 -- Date/Time -- x Page 2 19 -- Date/Time -- x Page 3 29 -- Date/Time -- x Page 4 35 -- Date/Time -- x Page 5 45 -- Date/Time -- x Page 6 51 -- Date/Time -- x Page 7 57 -- Date/Time -- x Page 8 67 -- Date/Time -- x Page 9
|
/coreutils/tests/nice/ |
D | nice.sh | 60 test x$args = xLAST && break 61 args=$(echo x$args|tr : ' '|sed 's/^x//') 66 test x$(nice $args nice 2> /dev/null) = x$expected_result \ 73 if test x$(nice -n -1 nice 2> /dev/null) = x0 ; then 89 test x$(nice -n -1 nice) = x-1 || fail=1 90 test x$(nice --1 nice) = x-1 || fail=1
|