Home
last modified time | relevance | path

Searched refs:returns_ (Results 1 – 25 of 150) sorted by relevance

123456

/coreutils/tests/touch/
Dtrailing-slash.sh32 returns_ 1 touch no-file/ || fail=1
33 returns_ 1 touch file/ || fail=1
34 returns_ 1 touch dangling/ || fail=1
35 returns_ 1 touch loop/ || fail=1
36 if returns_ 2 ls link1/; then # darwin allows trailing slash to files
37 returns_ 1 touch link1/ || fail=1
43 returns_ 1 touch -c file/ || fail=1
45 returns_ 1 touch -c loop/ || fail=1
46 if returns_ 2 ls link1/; then
47 returns_ 1 touch -c link1/ || fail=1
[all …]
/coreutils/tests/misc/
Dkill.sh23 returns_ 1 env kill || fail=1
24 returns_ 1 env kill -TERM || fail=1
27 returns_ 1 env kill -l -l || fail=1
28 returns_ 1 env kill -l -t || fail=1
29 returns_ 1 env kill -l -s 1 || fail=1
30 returns_ 1 env kill -t -s 1 || fail=1
33 returns_ 1 env kill -0 no_pid || fail=1
39 returns_ 1 env kill -cont $$ || fail=1
59 returns_ 1 env kill -l -1 || fail=1
60 returns_ 1 env kill -l -1 0 || fail=1
[all …]
Dsleep.sh24 returns_ 1 timeout 10 sleep invalid || fail=1
25 returns_ 1 timeout 10 sleep -- -1 || fail=1
26 returns_ 1 timeout 10 sleep 42D || fail=1
27 returns_ 1 timeout 10 sleep 42d 42day || fail=1
28 returns_ 1 timeout 10 sleep nan || fail=1
29 returns_ 1 timeout 10 sleep '' || fail=1
30 returns_ 1 timeout 10 sleep || fail=1
38 returns_ 124 timeout 0.1 sleep 1d 2h 3m 4s || fail=1
39 returns_ 124 timeout 0.1 sleep inf || fail=1
40 returns_ 124 timeout 0.1 sleep $LDBL_MAX || 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
Dclose-stdout.sh47 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
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
61 returns_ 1 mktemp -d -q tmpdir-XXXXXX >/dev/full 2>/dev/null || fail=1
Dsync.sh25 returns_ 1 sync --data --file-system || fail=1
28 returns_ 1 sync -d || fail=1
39 returns_ 1 sync file nofile || fail=1
45 returns_ 1 sync norw 2>errt || fail=1
55 returns_ 124 timeout 10 sync fifo && fail=1
Dfalse-status.sh23 returns_ 1 env false --version > /dev/null || fail=1
24 returns_ 1 env false --help > /dev/null || fail=1
27 returns_ 1 env true --version > /dev/full || fail=1
28 returns_ 1 env true --help > /dev/full || fail=1
/coreutils/tests/nice/
Dnice-fail.sh25 returns_ 125 nice -n 1 || fail=1 # missing command
26 returns_ 125 nice --- || fail=1 # unknown option
27 returns_ 125 nice -n 1a || fail=1 # invalid adjustment
28 returns_ 2 nice sh -c 'exit 2' || fail=1 # exit status propagation
29 returns_ 126 env . && { returns_ 126 nice . || fail=1; } # invalid command
30 returns_ 127 nice no_such || fail=1 # no such command
/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
31 returns_ 1 tty -s <&- || fail=1
33 returns_ 2 tty a || fail=1
34 returns_ 2 tty -s a || fail=1
38 returns_ 3 tty >/dev/full || fail=1
40 returns_ 3 tty </dev/null >/dev/full || fail=1
/coreutils/tests/df/
Dno-mtab-status.sh107 returns_ 1 df || fail=1
108 returns_ 1 df -i || fail=1
109 returns_ 1 df -T || fail=1
110 returns_ 1 df -Ti || fail=1
111 returns_ 1 df --total || fail=1
113 returns_ 1 df -a || fail=1
114 returns_ 1 df -a '.' || fail=1
116 returns_ 1 df -l || fail=1
117 returns_ 1 df -l '.' || fail=1
119 returns_ 1 df -t hello || fail=1
[all …]
/coreutils/tests/timeout/
Dtimeout-parameters.sh27 returns_ 125 timeout invalid sleep 0 || fail=1
30 returns_ 125 timeout --kill-after=invalid 1 sleep 0 || fail=1
33 returns_ 125 timeout 42D sleep 0 || fail=1
42 returns_ 125 timeout --signal=invalid 1 sleep 0 || fail=1
45 returns_ 126 env . && { returns_ 126 timeout 10 . || fail=1; }
48 returns_ 127 timeout 10 no_such || fail=1
Dtimeout.sh33 returns_ 2 timeout 10 sh -c 'exit 2' || fail=1
36 returns_ 124 timeout .1 sleep 10 || fail=1
40 returns_ 124 timeout --preserve-status .1 sleep 10 && fail=1
46 returns_ 124 timeout -s0 -k1 .1 sleep 10 && fail=1
48 returns_ 124 timeout --foreground -s0 -k1 .1 sleep 10 && fail=1
/coreutils/tests/readlink/
Dcan-f.sh42 v=$(returns_ 1 readlink -e .) || fail=1
53 v=$(returns_ 1 readlink -f "${p}./regfile/") || fail=1
56 v=$(returns_ 1 readlink -f "${p}regfile/more") || fail=1
59 v=$(returns_ 1 readlink -f "${p}./regfile/more/") || fail=1
80 v=$(returns_ 1 readlink -f "${p}missing/more") || fail=1
83 v=$(returns_ 1 readlink -f "${p}./missing/more/") || fail=1
89 v=$(returns_ 1 readlink -f "${p}./link1/") || fail=1
92 v=$(returns_ 1 readlink -f "${p}link1/more") || fail=1
95 v=$(returns_ 1 readlink -f "${p}./link1/more/") || fail=1
110 v=$(returns_ 1 readlink -f "${p}link2/more/more2") || fail=1
[all …]
Dcan-e.sh41 v=$(returns_ 1 readlink -e .) || fail=1
52 v=$(returns_ 1 readlink -e "${p}./regfile/") || fail=1
61 v=$(returns_ 1 readlink -e "${p}missing") || fail=1
64 v=$(returns_ 1 readlink -e "${p}./missing/") || fail=1
70 v=$(returns_ 1 readlink -e "${p}./link1/") || fail=1
73 v=$(returns_ 1 readlink -e "${p}link1/more") || fail=1
82 v=$(returns_ 1 readlink -e "${p}link2/more") || fail=1
85 v=$(returns_ 1 readlink -e "${p}link3") || fail=1
88 v=$(returns_ 1 readlink -e "${p}./link3/") || fail=1
91 v=$(returns_ 1 readlink -e "${p}link3/more") || fail=1
[all …]
/coreutils/tests/split/
Dfail.sh27 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
45 returns_ 1 split -0 in 2> /dev/null || fail=1
56 returns_ 1 split --number=r/$UINTMAX_OFLOW </dev/null 2>/dev/null || fail=1
Dguard-input.sh26 returns_ 1 split -C 6 xaa || fail=1
27 returns_ 1 split -C 6 in2 || fail=1
28 returns_ 1 split -C 6 in3 || fail=1
29 returns_ 1 split -C 6 - < xaa || fail=1
/coreutils/tests/stty/
Dstty-invalid.sh39 returns_ 1 stty $(echo $saved_state |sed 's/^[^:]*:/'$hex_2_64:/) \
41 returns_ 1 stty $(echo $saved_state |sed 's/:[0-9a-f]*$/:'$hex_2_64/) \
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
54 returns_ 1 stty ispeed 420 || fail=1
/coreutils/tests/truncate/
Dtruncate-parameters.sh24 returns_ 1 truncate --size=0 || fail=1
27 returns_ 1 truncate file || fail=1
30 returns_ 1 truncate --size=0 --reference=file file || fail=1
33 returns_ 1 truncate --io-blocks --reference=file file || fail=1
36 returns_ 1 truncate --size="invalid" file || fail=1
39 returns_ 1 truncate --size="> -1" file || fail=1
Dtruncate-relative.sh24 returns_ 1 truncate --size="+>0" file || fail=1
27 returns_ 1 truncate --size=">+0" file || fail=1
30 returns_ 1 truncate --size="/0" file || fail=1
33 returns_ 1 truncate --size="%0" file || fail=1
/coreutils/tests/env/
Denv.sh46 returns_ 125 env --- || fail=1 # unknown option
47 returns_ 125 env -u || fail=1 # missing option argument
48 returns_ 2 env sh -c 'exit 2' || fail=1 # exit status propagation
49 returns_ 126 nice . && { returns_ 126 env . || fail=1; } # invalid command
50 returns_ 127 env no_such || fail=1 # no such command
100 returns_ 127 env also_unlikely || fail=1
129 returns_ 127 env a=b -- true || fail=1
150 returns_ 125 env -u a=b true || fail=1
151 returns_ 125 env -u '' true || fail=1
155 returns_ 125 env --chdir=empty/nonexistent true || fail=1
[all …]
/coreutils/tests/mv/
Ddup-source.sh42 returns_ 1 $i -a ./b b b/ 2>> out || fail=1
50 returns_ 1 $i --backup a a d/ 2>> out || fail=1
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
75 returns_ 1 $i ./b b d/ 2>> out || fail=1
76 returns_ 1 test -e b || fail=1
78 returns_ 1 $i --verbose ./b b b/ 2>> out || fail=1
Dmv-n.sh31 echo n | returns_ 1 mv -vi a b 2>/dev/null > out1 || fail=1
41 echo y | returns_ 1 mv -vin a b 2>/dev/null > out3 || fail=1
46 echo y | returns_ 1 mv -in a b 2>err3 > out3 || fail=1
52 echo y | returns_ 1 mv -vfn a b 2>/dev/null > out4 || fail=1
57 echo y | returns_ 1 mv -vifn a b 2>/dev/null > out5 || fail=1
62 returns_ 1 mv -bn a b 2>/dev/null || fail=1
/coreutils/tests/chcon/
Dchcon-fail.sh25 returns_ 1 chcon 2> /dev/null || fail=1
28 returns_ 1 chcon CON 2> /dev/null || fail=1
32 returns_ 1 chcon --reference=f 2> /dev/null || fail=1
35 returns_ 1 chcon -u anyone 2> /dev/null || fail=1
/coreutils/tests/chroot/
Dchroot-fail.sh25 returns_ 125 chroot || fail=1 # missing argument
26 returns_ 125 chroot --- / true || fail=1 # unknown option
31 returns_ 2 chroot / sh -c 'exit 2' || fail=1 # exit status propagation
32 returns_ 126 chroot / . || fail=1# invalid command
33 returns_ 127 chroot / no_such || fail=1 # no such command
/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
48 echo y | returns_ 1 cp -vin c d 2>/dev/null > out4 || fail=1
52 echo y | returns_ 1 cp -in c d 2>err4 > out4 || 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

123456