Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 107) sorted by relevance

12345

/coreutils/tests/chgrp/
Dderef.sh32 g=$5
33 test "$g" = $g2 ||
39 set _ $(ls -ln f); g=$5; test "$g" = $g1 || fail=1
42 set _ $(ls -ln f); g=$5; test "$g" = $g1 || fail=1
43 set _ $(ls -ln symlink); g=$5; test "$g" = $g2 || fail=1
47 set _ $(ls -ln f); g=$5; test "$g" = $g1 || fail=1
48 set _ $(ls -ln symlink); g=$5; test "$g" = $g2 || fail=1
51 set _ $(ls -ln f); g=$5; test "$g" = $g2 || fail=1
57 set _ $(ls -ln f); g=$5; test "$g" = $g1 || fail=1
58 set _ $(ls -ln symlink); g=$5; test "$g" = $g2 || fail=1
Dbasic.sh36 chgrp $g1 f || fail=1 ; test $(stat --p=%g f) = $g1 || fail=1
37 chgrp $g2 f || fail=1 ; test $(stat --p=%g f) = $g2 || fail=1
38 chgrp $g2 f || fail=1 ; test $(stat --p=%g f) = $g2 || fail=1
39 chgrp '' f || fail=1 ; test $(stat --p=%g f) = $g2 || fail=1
40 chgrp $g1 f || fail=1 ; test $(stat --p=%g f) = $g1 || fail=1
41 chgrp $g1 f || fail=1 ; test $(stat --p=%g f) = $g1 || fail=1
42 chgrp --reference=f2 f ; test $(stat --p=%g f) = $g2 || fail=1
44 chgrp -R $g2 d ||fail=1; test $(stat --p=%g: $d_files) = "$g2:$g2:" || fail=1
45 chgrp -R $g1 d ||fail=1; test $(stat --p=%g: $d_files) = "$g1:$g1:" || fail=1
46 chgrp -R $g2 d ||fail=1; test $(stat --p=%g: $d_files) = "$g2:$g2:" || fail=1
[all …]
Drecurse.sh36 set _ $(ls -ln e/ee); g=$5; test "$g" = $g1 || fail=1
40 set _ $(ls -ln e/ee); g=$5; test "$g" = $g2 || fail=1
44 set _ $(ls -ln e/ee); g=$5; test "$g" = $g2 || fail=1
50 set _ $(ls -ln e/ee); g=$5; test "$g" = $g2 || fail=1
52 set _ $(ls -ln d/dd); g=$5; test "$g" = $g1 || fail=1
/coreutils/gl/lib/
Drand-isaac.c145 #define mix(a, b, c, d, e, f, g, h) \ argument
150 d += e; d ^= just (e) >> 16; g += d; \
152 f += g; f ^= just (g) >> 4; a += f; \
153 g += h; g ^= h << 8; b += g; \
158 #define mix(a, b, c, d, e, f, g, h) \ argument
161 b -= f; g ^= a << 9; a += b; \
162 c -= g; h ^= just (b) >> 23; b += c; \
166 g -= c; d ^= just (f) >> 17; f += g; \
167 h -= d; e ^= g << 14; g += h; \
173 #define ISAAC_MIX(s, a, b, c, d, e, f, g, h, seed) \ argument
[all …]
/coreutils/tests/cp/
Dcp-a-selinux.sh138 echo > g || framework_failure_
144 cp -a ../f g 2>err || fail=1
145 test -s g || fail=1 # The destination file must not be empty.
150 rm -f g
151 echo > g
152 cp --preserve=all ../f g 2>err || fail=1
153 test -s g || fail=1
158 rm -f g
159 cp --preserve=all ../f g 2>err || fail=1
160 test -s g || fail=1
[all …]
Dcp-parents.sh28 mkdir -p a/b/c d e g
44 returns_ 1 cp --parents f/g d 2>/dev/null || fail=1
50 cp -a --parents sym/b/c g || fail=1
53 p=$(ls -ld g/sym|cut -b-10); case $p in drwx-w--w-);; *) fail=1;; esac
55 p=$(ls -ld g/sym/b/c|cut -b-10); case $p in drwxr-xr-x);; *) fail=1;; esac
Dpreserve-gid.sh40 g=$1; shift
44 if test "x$s" != "x$u $g"; then
50 echo "$0: $* $f b: $u $g != $s" 1>&2
126 g=$1; shift
127 t0 "$f" "$u" "$g" \
Dparent-perm.sh33 chmod g-rx e/a e/a/b || framework_failure_
48 test $(stat --printf %A $dir|sed s/s/x/g) \
49 = $(stat --printf %A e/$dir|sed s/s/x/g) ||
/coreutils/tests/od/
Dod.pl47 ['j-bug1', '-c -j 1 -An', {IN=>{g=>'a'}}, {OUT=>''}],
48 ['j-bug2', '-c -j 2 -An', {IN=>{g=>'a'}}, {IN=>{h=>'b'}}, {OUT=>''}],
50 ['j-bug3', '-c -j 3 -An', {IN=>{g=>'a'}}, {IN=>{h=>'b'}},
53 ['j-bug4', '-c -j 3 -An', {IN=>{g=>'a'}}, {IN=>{h=>'b'}},
64 ['wide-a', '-a -w65537 -An', {IN=>{g=>'x'}}, {OUT=>" x\n"}],
65 ['wide-c', '-c -w65537 -An', {IN=>{g=>'x'}}, {OUT=>" x\n"}],
66 ['wide-x', '-tx1 -w65537 -An', {IN=>{g=>'B'}}, {OUT=>" 42\n"}],
/coreutils/tests/wc/
Dwc-files0-from.pl66 {IN=>{f=>"g"}}, {AUX=>{g=>''}}, {OUT=>"0 0 0 g\n"} ],
70 {IN=>{f=>"g\0"}}, {AUX=>{g=>''}}, {OUT=>"0 0 0 g\n"} ],
74 {IN=>{f=>"g\0g"}}, {AUX=>{g=>''}},
79 {IN=>{f=>"g\0g\0"}}, {AUX=>{g=>''}},
84 {IN=>{f=>"\0g\0"}}, {AUX=>{g=>''}},
/coreutils/tests/du/
Dfiles0-from.pl65 {IN=>{f=>"g"}}, {AUX=>{g=>''}},
70 {IN=>{f=>"g\0"}}, {AUX=>{g=>''}},
75 {IN=>{f=>"g\0g"}}, {AUX=>{g=>''}},
80 {IN=>{f=>"g\0g\0"}}, {AUX=>{g=>''}},
85 {IN=>{f=>"\0g\0"}}, {AUX=>{g=>''}},
/coreutils/tests/sort/
Dsort-files0-from.pl69 {IN=>{f=>"g"}}, {AUX=>{g=>'a'}}, {OUT=>"a\n"} ],
73 {IN=>{f=>"g\0"}}, {AUX=>{g=>'a'}}, {OUT=>"a\n"} ],
77 {IN=>{f=>"g\0g"}}, {AUX=>{g=>'a'}}, {OUT=>"a\na\n"} ],
81 {IN=>{f=>"g\0g\0"}}, {AUX=>{g=>'a'}}, {OUT=>"a\na\n"} ],
88 {IN=>{f=>"\0g\0"}}, {AUX=>{g=>''}},
/coreutils/tests/chown/
Dseparator.sh55 for g in $id_g "$id_gn" ''; do
56 case $u$g in
61 case $u$sep$g in
62 [0-9]*$sep) returns_ 1 chown "$u$sep$g" . 2>/dev/null || fail=1 ;;
63 *) chown "$u$sep$g" . || fail=1 ;;
/coreutils/src/
Dgroup-list.c98 #define gidtostr(g) gidtostr_ptr (&(g)) argument
114 intmax_t g = gid; in print_group() local
115 error (0, 0, _("cannot find name for group ID %jd"), g); in print_group()
119 uintmax_t g = gid; in print_group() local
120 error (0, 0, _("cannot find name for group ID %ju"), g); in print_group()
Dchroot.c106 struct group *g; in parse_additional_groups() local
117 g = getgrnam (tmp); in parse_additional_groups()
118 if (g != nullptr) in parse_additional_groups()
119 value = g->gr_gid; in parse_additional_groups()
122 g = (struct group *) (intptr_t) ! nullptr; in parse_additional_groups()
126 g = getgrnam (tmp); in parse_additional_groups()
127 if (g != nullptr) in parse_additional_groups()
128 value = g->gr_gid; in parse_additional_groups()
131 if (g == nullptr) in parse_additional_groups()
/coreutils/tests/mv/
Dchildproof.sh57 ln a/f b/g
58 mv a/f b/g c || fail=1
60 test -f b/g && fail=1
62 test -f c/g || fail=1
64 touch a/f b/f b/g
65 returns_ 1 mv a/f b/f b/g c 2> /dev/null || fail=1
68 test -f b/g && fail=1 # b/g should have been moved
70 test -f c/g || fail=1
Di-2.sh25 for i in a b c d e f g h; do
47 cp -fi g h < y > out 2>&1 || fail=1
48 test -f g || fail=1
50 compare g h || fail=1
Di-3.sh28 touch f g h i || framework_failure_
29 chmod 0 g i || framework_failure_
45 mv f g < $tty > out 2>&1 & pid=$!
/coreutils/tests/seq/
Dseq.pl99 ['fmt-b', qw(-f %%%g%% 1), {OUT => ['%1%']}],
110 ['fmt-eos2', qw(-f %g% 1), {EXIT => 1},
111 {ERR => "seq: format '%g%' has too many % directives\n"}],
115 ['fmt-e', qw(-f %g%g 1), {EXIT => 1},
116 {ERR => "seq: format '%g%g' has too many % directives\n"}],
/coreutils/tests/chmod/
Dsetgid.sh28 chmod g+s d 2> /dev/null && env -- test -g d ||
37 chgrp "$id_g" d && chmod g+s d && env -- test -g d && break
44 + - g-s 00755 000755 =755 -2000 -7022 755 0755 \
50 g-s | 00*755 | =755 | -2000 | -7022)
Dc-option.sh31 chmod -c g=rwx $file > out || fail=1
32 chmod -c g=rwx $file > empty || fail=1
45 chmod g+s a/b
48 chmod -c -R g+w a 2>err
/coreutils/tests/chcon/
Dchcon.sh27 touch f g d/sub/1 d/sub/2 || framework_failure_
42 chcon --ref=f g || fail=1
43 stat --printf='g|%C\n' g >> out || fail=1
62 g|$ctx
/coreutils/tests/pr/
DnSml24-t-t-FF15 10.10 without -f e.g.::--:10 without -f e.g.::--:10 zzzzzzzzzzzzzzzz
16 11.1 with -f e.g. ::--:1 with -f e.g. ::--:1
/coreutils/tests/tail/
Dinotify-hash-abuse2.sh36 touch g
37 mv g f
/coreutils/tests/touch/
Dnow-owned-by-other.sh26 chmod g+w root-owned
29 chmod g+x .

12345