Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/coreutils/tests/readlink/
Dreadlink-root.sh29 test -d /dev || framework_failure_
37 ln -s /dev one-dev || framework_failure_
38 ln -s //dev two-dev || framework_failure_
39 ln -s ///dev three-dev || framework_failure_
54 /dev
55 ${double_slash}dev
56 /dev
57 /dev
58 ${double_slash}dev
59 /dev
[all …]
/coreutils/tests/misc/
Dclose-stdout.sh45 if "$p/src/test" -w /dev/stdout >/dev/null &&
46 "$p/src/test" ! -w /dev/stdout >&-; then
47 returns_ 1 "$p/src/printf" 'foo' >&- 2>/dev/null || fail=1
48 returns_ 1 cp --verbose a b >&- 2>/dev/null || fail=1
50 returns_ 1 mktemp tmpfile-XXXXXX >&- 2>/dev/null || fail=1
51 returns_ 1 mktemp tmpfile-XXXXXX -q >&- 2>/dev/null || fail=1
56 if test -w /dev/full && test -c /dev/full; then
57 returns_ 1 "$p/src/printf" 'foo' >/dev/full 2>/dev/null || fail=1
58 returns_ 1 cp --verbose a b >/dev/full 2>/dev/null || fail=1
60 returns_ 1 mktemp -d tmpdir-XXXXXX >/dev/full 2>/dev/null || fail=1
[all …]
Dfalse-status.sh23 returns_ 1 env false --version > /dev/null || fail=1
24 returns_ 1 env false --help > /dev/null || fail=1
26 if test -w /dev/full && test -c /dev/full; then
27 returns_ 1 env true --version > /dev/full || fail=1
28 returns_ 1 env true --help > /dev/full || fail=1
Dpathchk.sh28 returns_ 1 pathchk file/x > /dev/null 2>&1 || fail=1
31 returns_ 1 pathchk -p '' > /dev/null 2>&1 || fail=1
34 returns_ 1 pathchk -P '' > /dev/null 2>&1 || fail=1
35 returns_ 1 pathchk -P -- - > /dev/null 2>&1 || fail=1
36 returns_ 1 pathchk -p -P x/- > /dev/null 2>&1 || fail=1
Dtee.sh40 compare /dev/null err || fail=1
43 if test -w /dev/full && test -c /dev/full; then
44 yes | returns_ 1 timeout 10 tee /dev/full 2>err >/dev/full || fail=1
53 returns_ 1 tee /dev/full out2 2>err >out1 <multi_read || fail=1
59 returns_ 1 tee out1 out2 2>err >/dev/full <multi_read || fail=1
85 returns_ 1 tee -p </dev/null file.ro || fail=1
92 cleanup_() { kill $pid 2>/dev/null && wait $pid; }
94 { sleep .1; timeout 10 dd of=/dev/null status=none; } <fifo
97 dd count=20 bs=100K if=/dev/zero status=none |
105 read_fifo() { timeout 10 dd count=1 if=fifo of=/dev/null status=none & }
[all …]
/coreutils/tests/split/
Dfail.sh26 split -a 0 in 2> /dev/null || fail=1
27 returns_ 1 split -b 0 in 2> /dev/null || fail=1
28 returns_ 1 split -C 0 in 2> /dev/null || fail=1
29 returns_ 1 split -l 0 in 2> /dev/null || fail=1
30 returns_ 1 split -n 0 in 2> /dev/null || fail=1
31 returns_ 1 split -n 1/0 in 2> /dev/null || fail=1
32 returns_ 1 split -n 0/1 in 2> /dev/null || fail=1
33 returns_ 1 split -n 2/1 in 2> /dev/null || fail=1
42 split -1 in 2> /dev/null || fail=1
45 returns_ 1 split -0 in 2> /dev/null || fail=1
[all …]
/coreutils/tests/touch/
Dno-create-missing.sh23 touch -c no-file > /dev/null 2>&1 || fail=1
24 touch -cm no-file > /dev/null 2>&1 || fail=1
25 touch -ca no-file > /dev/null 2>&1 || fail=1
30 if env test -w /dev/stdout >/dev/null &&
31 env test ! -w /dev/stdout >&-; then
32 touch -c - >&- 2> /dev/null || fail=1
33 touch -cm - >&- 2> /dev/null || fail=1
34 touch -ca - >&- 2> /dev/null || fail=1
Dno-dereference.sh30 compare /dev/null err && fail=1
32 compare /dev/null err || fail=1
42 grep '^#define HAVE_UTIMENSAT 1' "$CONFIG_HEADER" > /dev/null ||
43 grep '^#define HAVE_LUTIMES 1' "$CONFIG_HEADER" > /dev/null ||
52 compare /dev/null err || fail=1;;
76 if env test -w /dev/stdout >/dev/null &&
77 env test ! -w /dev/stdout >&-; then
/coreutils/tests/dd/
Dmisc.sh35 dd status=none if=$tmp_in of=/dev/null 2> err || fail=1
36 compare /dev/null err || fail=1
37 dd status=none if=$tmp_in skip=2 of=/dev/null 2> err || fail=1
38 compare /dev/null err || fail=1
40 dd status=noxfer status=none if=$tmp_in of=/dev/null 2> err || fail=1
41 compare /dev/null err || fail=1
43 dd status=none status=noxfer if=$tmp_in of=/dev/null 2> err || fail=1
44 compare /dev/null err && fail=1
46 dd if=$tmp_in of=$tmp_out 2> /dev/null || fail=1
50 dd -- if=$tmp_in of=$tmp_out 2> /dev/null || fail=1
[all …]
Dstderr.sh27 dd --help >/dev/null 2>&- || fail=1
33 if "$p/src/test" -w /dev/stderr 2>/dev/null &&
34 "$p/src/test" ! -w /dev/stderr 2>&-; then
39 if test -w /dev/full && test -c /dev/full; then
40 : | returns_ 1 dd 2>/dev/full || fail=1
Dbytes.sh25 dd $operands conv=swab < in > out 2> /dev/null || fail=1
34 dd $operands < in > out 2> /dev/null || fail=1
42 dd $operands bs=2 > out 2> /dev/null || fail=1
55 dd $operands bs=5 > out 2> /dev/null || fail=1
59 dd $operands bs=5 of=out2 count=0 2> /dev/null || fail=1
67 dd oseek=$oseek bs=5 > out 2> /dev/null || fail=1
73 returns_ 1 dd count=$count </dev/null >/dev/null || fail=1
/coreutils/tests/tty/
Dtty.sh28 returns_ 1 tty </dev/null || fail=1
29 returns_ 1 tty -s </dev/null || fail=1
30 returns_ 1 tty <&- 2>/dev/null || fail=1
36 if test -w /dev/full && test -c /dev/full; then
38 returns_ 3 tty >/dev/full || fail=1
40 returns_ 3 tty </dev/null >/dev/full || fail=1
/coreutils/tests/cut/
Dcut-huge-range.sh23 vm=$(get_min_ulimit_v_ returns_ 0 cut -b1 /dev/null) \
33 (ulimit -v $vm && cut -b$CUT_MAX- /dev/null > err 2>&1) || fail=1
37 (ulimit -v $vm && cut -b1-$CUT_MAX /dev/null >> err 2>&1) || fail=1
40 (ulimit -v $vm && returns_ 1 cut -b$UINTMAX_MAX /dev/null 2>/dev/null) ||
42 (ulimit -v $vm && returns_ 1 cut -b$UINTMAX_OFLOW /dev/null 2>/dev/null) ||
45 compare /dev/null err || fail=1
/coreutils/tests/tr/
Dtr-case-class.sh32 returns_ 1 tr 'A-Z[:lower:]' 'a-y[:upper:]' </dev/null || fail=1
33 returns_ 1 tr '[:upper:][:lower:]' 'a-y[:upper:]' </dev/null || fail=1
34 returns_ 1 tr 'A-Y[:lower:]' 'a-z[:upper:]' </dev/null || fail=1
35 returns_ 1 tr 'A-Z[:lower:]' '[:lower:][:upper:]' </dev/null || fail=1
36 returns_ 1 tr 'A-Z[:lower:]' '[:lower:]A-Z' </dev/null || fail=1
37 tr '[:upper:][:lower:]' 'a-z[:upper:]' < /dev/null || fail=1
38 tr '[:upper:][:lower:]' '[:upper:]a-z' < /dev/null || fail=1
44 tr '[:upper:] ' '[:lower:]' < /dev/null 2>out && fail=1
71 tr '[:upper:]' '[:lower:]' < /dev/null || fail=1
73 tr '[:upper:] ' '[:lower:]' < /dev/null 2>out && fail=1
[all …]
/coreutils/tests/du/
Dinodes.sh28 compare /dev/null err || fail=1
36 compare /dev/null err || fail=1
42 compare /dev/null err || fail=1
48 compare /dev/null err || fail=1
54 compare /dev/null err || fail=1
60 compare /dev/null err || fail=1
66 compare /dev/null err || fail=1
77 compare /dev/null err || fail=1
85 compare /dev/null err || fail=1
91 compare /dev/null err || fail=1
[all …]
/coreutils/tests/nice/
Dnice.sh66 test x$(nice $args nice 2> /dev/null) = x$expected_result \
73 if test x$(nice -n -1 nice 2> /dev/null) = x0 ; then
76 compare /dev/null err && fail=1
81 if test -w /dev/full && test -c /dev/full; then
82 returns_ 125 nice -n -1 nice > out 2> /dev/full || fail=1
83 compare /dev/null out || fail=1
88 compare /dev/null err || fail=1
/coreutils/tests/stty/
Dstty-invalid.sh40 2>/dev/null || fail=1
42 2>/dev/null || fail=1
46 if tty -s </dev/tty; then
47 returns_ 1 stty eol -F /dev/tty || fail=1
48 returns_ 1 stty -F /dev/tty eol || fail=1
49 returns_ 1 stty -F/dev/tty eol || fail=1
50 returns_ 1 stty eol -F/dev/tty eol || fail=1
/coreutils/gl/modules/
Droot-dev-ino5 lib/root-dev-ino.h
6 lib/root-dev-ino.c
9 dev-ino
16 lib_SOURCES += root-dev-ino.c root-dev-ino.h
19 "root-dev-ino.h"
/coreutils/tests/tail/
Dinotify-race.sh26 grep '^#define HAVE_INOTIFY 1' "$CONFIG_HEADER" >/dev/null && is_local_dir_ . \
31 kill $pid 2>/dev/null && wait $pid
32 kill $sleep 2>/dev/null && wait $sleep
66 tail < /dev/null > gdb.out 2>&1
74 compare /dev/null gdb.out || skip_ "can't set breakpoints in tail"
87 tail < /dev/null > /dev/null 2>&1 & pid=$!
99 compare /dev/null tail.out && fail=1
Dinotify-race2.sh25 grep '^#define HAVE_INOTIFY 1' "$CONFIG_HEADER" >/dev/null && is_local_dir_ . \
30 kill $pid 2>/dev/null && wait $pid
31 kill $sleep 2>/dev/null && wait $sleep
65 tail < /dev/null > gdb.out 2>&1
73 compare /dev/null gdb.out || skip_ "can't set breakpoints in tail"
88 tail < /dev/null > /dev/null 2>&1 & pid=$!
104 compare /dev/null tail.out && { cat tail.err; fail=1; }
Dfollow-stdin.sh33 cleanup_() { kill $pid 2>/dev/null && wait $pid; }
51 compare /dev/null err || fail=1
72 if tty -s </dev/tty && test -t 0; then
75 compare /dev/null err || fail=1
78 tail -f - /dev/null </dev/tty 2> out & pid=$!
/coreutils/tests/cp/
Dcp-i.sh27 echo n | returns_ 1 cp -iR a b 2>/dev/null || fail=1
36 echo n | returns_ 1 cp -vi c d 2>/dev/null > out1 || fail=1
40 echo y | cp -vi c d 2>/dev/null > out2 || fail=1
44 echo y | cp -vni c d 2>/dev/null > out3 || fail=1
48 echo y | returns_ 1 cp -vin c d 2>/dev/null > out4 || fail=1
57 echo y | cp -vfi c d 2>/dev/null > out5 || fail=1
61 echo n | returns_ 1 cp -vfn c d 2>/dev/null > out6 || fail=1
65 echo n | returns_ 1 cp -vnf c d 2>/dev/null > out7 || fail=1
69 returns_ 1 cp -bn c d 2>/dev/null || fail=1
Dcp-mv-enotsup-xattr.sh38 dd if=/dev/zero of="$fs" bs=8192 count=200 > /dev/null 2>&1 \
61 grep -F "$xattr_pair" out_a >/dev/null && framework_failure_
65 grep -F "$xattr_pair" out_a >/dev/null \
72 compare /dev/null err || fail=1
79 compare /dev/null err || fail=1
84 compare /dev/null err || fail=1
90 if grep '^#define USE_XATTR 1' $CONFIG_HEADER > /dev/null; then
107 compare /dev/null err || fail=1
121 if grep '^#define USE_XATTR 1' $CONFIG_HEADER > /dev/null; then
124 compare /dev/null err || fail=1
/coreutils/tests/
Dinit.sh75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
76 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
120 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
126 case `(set -o) 2>/dev/null` in
215 ( eval "$gl_shell_test_script_" ) > /dev/null 2>&1
217 "$re_shell_" -c "$gl_shell_test_script_" 2>/dev/null
289 dev_rand_=/dev/urandom
292 dd ibs=$n_ count=1 if=$dev_rand_ 2>/dev/null \
347 d=`unset TMPDIR; { mktemp -d -t -p "$destdir_" "$template_"; } 2>/dev/null` &&
356 perms=`ls -dgo "$d" 2>/dev/null` &&
[all …]
/coreutils/tests/seq/
Dseq-io-errors.sh22 if ! test -w /dev/full || ! test -c /dev/full; then
31 timed_seq_fail() { timeout 10 seq "$@" >/dev/full 2>/dev/null; }

12345678910>>...12