Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/coreutils/tests/misc/
Dtime-style.sh24 echo hello >a || framework_failure_
27 TZ=UTC0 touch -d '1970-07-08 09:10:11' a || framework_failure_
33 TZ=$tz LC_ALL=C du --time --time-style="$style" a >>duout 2>>err || fail=1
34 TZ=$tz LC_ALL=C ls -no --time-style="$style" a >>lsout 2>>err || fail=1
36 (+*) TZ=$tz LC_ALL=C pr -D"$style" a >>prout 2>>err || fail=1 ;;
46 1970-07-08 09:10:11.000000000 +0000 a
47 1970-07-08 09:10 a
48 1970-07-08 a
49 1970-07-08 09:10:11 +0000 (UTC) a
50 %bJul%bJul a
[all …]
Dxattr.sh41 touch a || framework_failure_
42 getfattr -d a >out_a || skip_ "failed to get xattr of file"
46 setfattr -n "$xattr_name" -v "$xattr_value" a >out_a \
48 getfattr -d a >out_a || skip_ "failed to get xattr of file"
54 cp a b || fail=1
59 cp --preserve=xattr a b || fail=1
64 cp --preserve=all a c || fail=1
69 cp -a a d 2>err && { compare /dev/null err || fail=1; }
74 chmod a-w a || framework_failure_
76 cp --preserve=xattr a e || fail=1
[all …]
Dnl.sh23 echo a | nl > out || fail=1
31 1 a
44 printf '%s\n' '\:\:\:' a '\:\:' b '\:' c > in.txt || framework_failure_
49 1 a
52 1 a
60 printf '%s\n' a \\:\\: b > in.txt || framework_failure_
63 $INTMAX_MAX a
72 printf '%s\n' a b > in.txt || framework_failure_
75 $INTMAX_MAX a
79 printf '%s\n' a b c > in.txt || framework_failure_
[all …]
Dprintenv.sh44 echo a > exp || framework_failure_
45 ENV_TEST=a env -- printenv ENV_TEST > out || fail=1
49 ENV_TEST1=a ENV_TEST2=b env -- printenv ENV_TEST2 ENV_TEST1 ENV_TEST2 > out \
51 ENV_TEST1=a ENV_TEST2=b env -- printenv ENV_TEST1 ENV_TEST2 >> out || fail=1
54 a
56 a
62 export ENV_TEST1=a
67 a
68 a
80 returns_ 1 env a=b=c printenv a=b > out || fail=1
/coreutils/tests/du/
Dexclude.sh22 mkdir -p a/b/c a/x/y a/u/v || framework_failure_
25 du --exclude=x a | sed 's/^[0-9][0-9]* //' | sort > out || fail=1
28 du --exclude-from=excl a | sed 's/^[0-9][0-9]* //' | sort >> out || fail=1
31 du --exclude=a a >> out || fail=1
35 du --exclude=a/u --exclude=a/b a \
38 a
39 a/b
40 a/b/c
41 a/u
42 a/u/v
[all …]
Dbasic.sh22 mkdir -p a/b d d/sub || framework_failure_
27 printf '%*s' 257 make-sure-the-file-is-non-empty > a/b/F || framework_failure_
32 B=$(stat --format=%B a/b/F)
34 du --block-size=$B -a a > out || fail=1
36 du --block-size=$B -a -S a >> out || fail=1
38 du --block-size=$B -s a >> out || fail=1
40 f=$(stat --format=%b a/b/F)
41 b=$(stat --format=%b a/b)
42 a=$(stat --format=%b a)
44 tot=$(expr $bf + $a)
[all …]
Dinacc-dir.sh22 mkdir -p a/sub || framework_failure_
25 du -s a > exp || fail=1
26 chmod 0 a/sub || fail=1
28 du -s a > out 2> /dev/null && fail=1
34 chmod 700 a/sub || fail=1
35 du -k a > exp || fail=1
36 chmod 0 a/sub || fail=1
38 du -k a > out 2> /dev/null && fail=1
Dbind-mount-dir-cycle-v2.sh23 cleanup_() { umount a/b/c; }
25 mkdir -p a/b/c || framework_failure_
26 mount --bind a a/b/c \
29 echo a/b/c > exp || framework_failure_
30 echo a/b >> exp || framework_failure_
32 du a/b > out 2> err || fail=1
/coreutils/gl/lib/
Drand-isaac.c54 #define IF32(a, b) (ISAAC_BITS == 32 ? (a) : (b)) argument
60 just (isaac_word a) in just() argument
63 return a & desired_bits; in just()
93 isaac_word a = s->a; in isaac_refill() local
110 a = (IF32 (a, 0) ^ (mix)) + m[off + (i)]; \ in isaac_refill()
112 m[i] = y = ind (s->m, x) + a + b; \ in isaac_refill()
118 ISAAC_STEP (0, HALF, IF32 ( a << 13, ~ (a ^ (a << 21)))); in isaac_refill()
119 ISAAC_STEP (1, HALF, IF32 (just (a) >> 6, a ^ (just (a) >> 5))); in isaac_refill()
120 ISAAC_STEP (2, HALF, IF32 ( a << 2, a ^ ( a << 12))); in isaac_refill()
121 ISAAC_STEP (3, HALF, IF32 (just (a) >> 16, a ^ (just (a) >> 33))); in isaac_refill()
[all …]
Dstrnumcmp-in.h74 fraccompare (char const *a, char const *b, char decimal_point) in fraccompare() argument
76 if (*a == decimal_point && *b == decimal_point) in fraccompare()
78 while (*++a == *++b) in fraccompare()
79 if (! ISDIGIT (*a)) in fraccompare()
81 if (ISDIGIT (*a) && ISDIGIT (*b)) in fraccompare()
82 return *a - *b; in fraccompare()
83 if (ISDIGIT (*a)) in fraccompare()
89 else if (*a++ == decimal_point) in fraccompare()
92 while (*a == NUMERIC_ZERO) in fraccompare()
93 a++; in fraccompare()
[all …]
/coreutils/tests/cp/
Dlink-preserve.sh23 touch a || framework_failure_
24 ln a b || framework_failure_
26 cp -d a b c || framework_failure_
27 test -f c/a || framework_failure_
31 a_inode=$(ls -i c/a|sed 's,c/.*,,')
36 rm -rf a b c
37 touch a
38 ln -s a b
40 cp --preserve=links -R -H a b c || fail=1
41 a_inode=$(ls -i c/a|sed 's,c/.*,,')
[all …]
Dparent-perm.sh26 mkdir -p a/b/c a/b/d e || framework_failure_
27 touch a/b/c/foo a/b/d/foo || framework_failure_
28 cp -p --parent a/b/c/foo e || framework_failure_
33 chmod g-rx e/a e/a/b || framework_failure_
35 cp -p --parent a/b/d/foo e || fail=1
47 for dir in a a/b a/b/d; do
Dpreserve-mode.sh27 touch a b || framework_failure_
34 cp --no-preserve=mode a b || fail=1
44 rm -f a b || framework_failure_
45 touch a || framework_failure_
46 chmod 600 a || framework_failure_
47 cp --no-preserve=mode --preserve=all a b || fail=1
59 rm -f a b c || framework_failure_
60 touch a || framework_failure_
61 chmod 660 a || framework_failure_
62 cp a b || fail=1
[all …]
Dacl.sh29 mkdir -p a b || framework_failure_
30 touch a/file || framework_failure_
34 acl1=$(cd a && getfacl file) || skip=yes
35 setfacl -m user:bin:rw- a/file 2> /dev/null || skip=yes
40 cp a/file b/ || fail=1
45 acl1=$(cd a && getfacl file) || framework_failure_
48 cp -p a/file b/ || fail=1
53 echo > a/file || framework_failure_ # add some data
54 test -s a/file || framework_failure_
55 cp -p --attributes-only a/file b/ || fail=1
Dcp-mv-enotsup-xattr.sh59 echo test > xattr/a || framework_failure_
60 getfattr -d xattr/a >out_a || skip_ "failed to get xattr of file"
62 setfattr -n "$xattr_name" -v "$xattr_value" xattr/a >out_a \
64 getfattr -d xattr/a >out_a || skip_ "failed to get xattr of file"
70 cp -a xattr/a noxattr/ 2>err || fail=1
71 test -s noxattr/a || fail=1 # destination file must not be empty
74 rm -f err noxattr/a
77 cp --preserve=all xattr/a noxattr/ 2>err || fail=1
78 test -s noxattr/a || fail=1 # destination file must not be empty
82 cp --preserve=all xattr/a noxattr/ 2>err || fail=1
[all …]
/coreutils/tests/mv/
Dchildproof.sh26 mkdir a b c || framework_failure_
27 echo a > a/f || framework_failure_
31 returns_ 1 cp a/f b/f c 2> /dev/null || fail=1
32 test -f a/f || fail=1
35 test "$(cat c/f)" = a || fail=1
39 cp --backup=numbered a/f b/f c || fail=1
40 test -f a/f || fail=1
46 returns_ 1 mv a/f b/f c 2> /dev/null || fail=1
47 test -f a/f && fail=1
50 test "$(cat c/f)" = a || fail=1
[all …]
Dmv-n.sh24 touch a b || framework_failure_
30 touch a b || framework_failure_
31 echo n | returns_ 1 mv -vi a b 2>/dev/null > out1 || fail=1
35 touch a b || framework_failure_
36 echo y | mv -vi a b 2>/dev/null > out2 || fail=1
40 touch a b || framework_failure_
41 echo y | returns_ 1 mv -vin a b 2>/dev/null > out3 || fail=1
45 touch a b || framework_failure_
46 echo y | returns_ 1 mv -in a b 2>err3 > out3 || fail=1
51 touch a b || framework_failure_
[all …]
Dhard-2.sh26 (cd dst && touch a b c) || framework_failure_
27 touch a || framework_failure_
28 ln a b || framework_failure_
29 ln a c || framework_failure_
33 cp --preserve=link a b c dst || fail=1
35 test -f a || fail=1
41 test -f a || fail=1
46 ia=$(ls -i a|sed 's/ a//')
54 (cd dst && touch a b c)
57 mv a b c dst || fail=1
[all …]
Ddup-source.sh27 reset_files() { rm -fr a b d; touch a; mkdir b d; }
33 $i a a d/ 2> out || fail=1
35 $i ./a a d/ 2>> out || fail=1
46 $i --backup=numbered a a d/ 2>> out || fail=1
50 returns_ 1 $i --backup a a d/ 2>> out || fail=1
56 $i: cannot copy a directory, './b', into itself, 'b/b'
66 returns_ 1 $i a a d/ 2> out || fail=1
67 returns_ 1 test -e a || fail=1
69 returns_ 1 $i ./a a d/ 2>> out || fail=1
70 returns_ 1 test -e a || fail=1
[all …]
Di-4.sh22 for i in a b; do
28 mv -i a b < y >/dev/null 2>&1 || fail=1
38 rm -f a b
39 echo a > a
40 ln a b
41 mv -i a b < y 2>err && fail=1
42 test -r a || fail=1
/coreutils/tests/ls/
Drecursive.sh23 mkdir x y a b c a/1 a/2 a/3 || framework_failure_
24 touch f a/1/I a/1/II || framework_failure_
28 ls -R1 a b c > out || fail=1
30 a:
35 a/1:
39 a/2:
41 a/3:
Dls-time.sh35 touch -m -d "$t3" a || framework_failure_
43 touch -a -d "$u1" a || framework_failure_
46 { ln a a-ctime && rm a-ctime; } || framework_failure_
50 set $(ls -c a c)
73 ls --full -l a
91 ls --full -lu a
96 set $(ls -ut a b c)
98 test $fail = 1 && ls -l --full-time --time=access a b c
100 set $(ls -t a b c)
102 test $fail = 1 && ls -l --full-time a b c
[all …]
/coreutils/tests/install/
Dinstall-C.sh53 echo test > a || framework_failure_
60 ginstall -Cv -m$mode1 a b > out || fail=1
64 ginstall -Cv -m$mode1 a b > out || fail=1
68 ginstall -v --compare -m$mode1 a b > out || fail=1
72 ginstall -v -m$mode1 a b > out || fail=1
76 ginstall -Cv -m$mode3 a b > out || fail=1
78 ginstall -Cv -m$mode3 a b > out || fail=1
82 ln -s a c || framework_failure_
90 echo test1 > a || framework_failure_
91 ginstall -Cv -m$mode1 a b > out || fail=1
[all …]
Dinstall-C-root.sh31 echo test > a || framework_failure_
38 ginstall -Cv -o$u1 -g$g1 a b > out || fail=1
42 ginstall -Cv -o$u1 -g$g1 a b > out || fail=1
46 ginstall -v -o$u1 -g$g1 a b > out || fail=1
50 ginstall -Cv -o$u2 -g$g1 a b > out || fail=1
52 ginstall -Cv -o$u2 -g$g1 a b > out || fail=1
56 ginstall -Cv -o$u2 -g$g2 a b > out || fail=1
58 ginstall -Cv -o$u2 -g$g2 a b > out || fail=1
62 ginstall -Cv -o$u2 a b > out || fail=1
64 ginstall -Cv a b > out || fail=1
[all …]
/coreutils/tests/rm/
Drm2.sh23 mkdir -p a/0 || framework_failure_
24 mkdir -p a/1/2 b/3 || framework_failure_
25 mkdir a/2 a/3 || framework_failure_
26 chmod u-x a/1 b || framework_failure_
32 rm -rf a b > out 2>&1 && fail=1
47 test -d a/0 && fail=1
48 test -d a/1 || fail=1
49 test -d a/2 && fail=1
50 test -d a/3 && fail=1

12345678910>>...16