Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/coreutils/tests/tail/
Dretry.sh26 grep -Ev 'inotify (resources exhausted|cannot be used)' out | wc -l
48 tail --retry file > out 2>&1 || fail=1
49 [ "$(countlines_)" = 1 ] || { cat out; fail=1; }
50 grep -F 'tail: warning: --retry ignored' out || { cat out; fail=1; }
54 returns_ 1 tail --retry missing > out 2>&1 || fail=1
55 [ "$(countlines_)" = 2 ] || { cat out; fail=1; }
56 grep -F 'tail: warning: --retry ignored' out || { cat out; fail=1; }
63 >out || framework_failure_
65 tail $mode $fastpoll --follow=name --retry missing >out 2>&1 & pid=$!
67 retry_delay_ wait4lines_ .1 6 1 || { cat out; fail=1; }
[all …]
Dsymlink.sh26 grep -Ev 'inotify (resources exhausted|cannot be used)' out | wc -l
48 >out || framework_failure_
50 timeout 10 tail $fastpoll -F symlink >out 2>&1 & pid=$!
52 retry_delay_ wait4lines_ .1 6 1 || { cat out; fail=1; }
55 retry_delay_ wait4lines_ .1 6 3 || { cat out; fail=1; }
58 [ "$(countlines_)" = 3 ] || { fail=1; cat out; }
59 grep -F 'cannot open' out || { fail=1; cat out; }
60 grep -F 'has appeared' out || { fail=1; cat out; }
61 grep '^X$' out || { fail=1; cat out; }
62 rm -f target out || framework_failure_
[all …]
/coreutils/tests/install/
Dinstall-C-root.sh38 ginstall -Cv -o$u1 -g$g1 a b > out || fail=1
39 compare out out_installed_first || fail=1
42 ginstall -Cv -o$u1 -g$g1 a b > out || fail=1
43 compare out out_empty || fail=1
46 ginstall -v -o$u1 -g$g1 a b > out || fail=1
47 compare out out_installed_second || fail=1
50 ginstall -Cv -o$u2 -g$g1 a b > out || fail=1
51 compare out out_installed_second || fail=1
52 ginstall -Cv -o$u2 -g$g1 a b > out || fail=1
53 compare out out_empty || fail=1
[all …]
Dinstall-C.sh60 ginstall -Cv -m$mode1 a b > out || fail=1
61 compare out out_installed_first || fail=1
64 ginstall -Cv -m$mode1 a b > out || fail=1
65 compare out out_empty || fail=1
68 ginstall -v --compare -m$mode1 a b > out || fail=1
69 compare out out_empty || fail=1
72 ginstall -v -m$mode1 a b > out || fail=1
73 compare out out_installed_second || fail=1
76 ginstall -Cv -m$mode3 a b > out || fail=1
77 compare out out_installed_second || fail=1
[all …]
Dinstall-C-selinux.sh33 ginstall -Cv --preserve-context a b > out || fail=1
34 compare out out_installed_first || fail=1
37 ginstall -Cv --preserve-context a b > out || fail=1
38 compare out out_empty || fail=1
41 ginstall -v --preserve-context a b > out || fail=1
42 compare out out_installed_second || fail=1
46 ginstall -Cv --preserve-context a b > out || fail=1
47 compare out out_installed_second || fail=1
48 ginstall -Cv --preserve-context a b > out || fail=1
49 compare out out_empty || fail=1
/coreutils/tests/tr/
Dtr-case-class.sh25 tr '[:lower:]' '0-9' > out || fail=1
26 compare exp out || fail=1
28 tr '[:lower:][:lower:]' '[:upper:]0-9' > out || fail=1
29 compare exp out || fail=1
44 tr '[:upper:] ' '[:lower:]' < /dev/null 2>out && fail=1
47 compare exp out || fail=1
50 echo '#$%123abcABC' | tr '[:lower:]' '[.*]' > out || fail=1
52 compare exp out || fail=1
53 echo '#$%123abcABC' | tr '[:upper:]' '[.*]' > out || fail=1
55 compare exp out || fail=1
[all …]
/coreutils/tests/df/
Ddf-output.sh29 df -i --output '.' 2>out && fail=1
30 sed 's/ -i / OPT /' out > out2
33 df --output -i '.' 2>out && fail=1
34 sed 's/ -i / OPT /' out > out2
37 df -P --output '.' 2>out && fail=1
38 sed 's/ -P / OPT /' out > out2
41 df --output -P '.' 2>out && fail=1
42 sed 's/ -P / OPT /' out > out2
45 df -T --output '.' 2>out && fail=1
46 sed 's/ -T / OPT /' out > out2
[all …]
Dskip-rootfs.sh28 df -a >out || fail=1
29 grep '^rootfs' out || skip_ 'no rootfs in mtab'
32 df >out || fail=1
33 grep '^rootfs' out && { fail=1; cat out; }
38 returns_ 1 df -t rootfs >out || fail=1
39 grep '^rootfs' out && { fail=1; cat out; }
43 df -t rootfs -a >out || fail=1
44 grep '^rootfs' out || { fail=1; cat out; }
48 df -a -x rootfs >out || fail=1
49 grep '^rootfs' out && { fail=1; cat out; }
Dskip-duplicates.sh156 LD_PRELOAD=$LD_PRELOAD:./k.so df -T >out || fail=1
157 test $(wc -l <out) -eq $(expr 1 + $unique_entries) || { fail=1; cat out; }
160 LD_PRELOAD=$LD_PRELOAD:./k.so df --total >out || fail=1
162 test $(wc -l <out) -eq $(expr 2 + $unique_entries - $elide_remote) ||
163 { fail=1; cat out; }
166 LD_PRELOAD=$LD_PRELOAD:./k.so CU_TEST_DUPE_INVALID=1 df -T >out || fail=1
167 test $(wc -l <out) -eq $(expr 1 + $unique_entries) || { fail=1; cat out; }
171 test $(grep -c '/fsname' <out) -eq 1 || { fail=1; cat out; }
173 test $(grep -cF '/.' <out) -eq 0 || { fail=1; cat out; }
177 test $(grep -c 'virtfs2.*t2' <out) -eq 1 || { fail=1; cat out; }
[all …]
Ddf-symlink.sh22 file_system=$(df --out=source '.' | tail -n1) ||
27 df --out=source,target "$file_system" > exp ||
29 df --out=source,target symlink > out || fail=1
30 compare exp out || fail=1
41 df --out=source,target '.' > out || fail=1
42 compare exp out || fail=1
/coreutils/tests/printf/
Dprintf.sh29 $prog '\x1b\n\33\n\e\n' > out || fail=1
30 compare exp out || fail=1
34 $prog -- 'foo\n' > out || fail=1
39 compare exp out || fail=1
41 rm -f out exp
43 $prog '1 %*sy\n' -3 x > out || fail=1
49 echo '2 failed, as expected' >> out
53 $prog '3 \x40\n' >> out || fail=1
55 $prog '4 \x40\n' >> out || fail=1
56 $prog '5 % +d\n' 234 >> out || fail=1
[all …]
/coreutils/tests/du/
Dinodes.sh26 du --inodes d > out 2>err || fail=1
27 compare exp out || fail=1
34 du --inodes d > out 2>err || fail=1
35 compare exp out || fail=1
40 du --inodes d > out 2>err || fail=1
41 compare exp out || fail=1
46 du --inodes -l d > out 2>err || fail=1
47 compare exp out || fail=1
52 du --inodes -s d > out 2>err || fail=1
53 compare exp out || fail=1
[all …]
/coreutils/tests/seq/
Dseq-precision.sh25 seq 999999 inf | head -n2 > out || fail=1
27 compare exp out || fail=1
34 seq $n1 $n2 > out || fail=1
36 compare exp out || fail=1
39 seq 0xF423F 0xF4240 > out || fail=1
41 compare exp out || fail=1
44 seq 1 .1 inf | head -n2 > out || fail=1
46 compare exp out || fail=1
49 seq inf inf | head -n2 | uniq > out || fail=1
53 seq 1 0x1p-1 2 > out || fail=1
[all …]
/coreutils/tests/misc/
Dnl.sh23 echo a | nl > out || fail=1
24 echo b | nl -s%n >> out || fail=1
25 echo c | nl -n ln >> out || fail=1
26 echo d | nl -n rn >> out || fail=1
27 echo e | nl -n rz >> out || fail=1
28 echo === >> out
29 printf 'a\n\n' | nl > t || fail=1; cat -A t >> out
40 compare exp out || fail=1
45 nl -ha -fa in.txt > out.tmp || fail=1
46 nl -p -ha -fa in.txt >> out.tmp || fail=1
[all …]
Decho.sh28 $prog -n -e '\x1b\n\e\n\33\n\033\n\0033\n' > out || fail=1
29 compare exp out || fail=1
33 $prog -n -e '\x\n' > out || fail=1
34 compare exp out || fail=1
37 $prog -- 'foo' > out || fail=1
38 $prog -n -e -- 'foo\n' >> out || fail=1
43 compare exp out || fail=1
46 $prog -e 'foo\n\cbar' > out || fail=1
48 compare exp out || fail=1
54 POSIXLY_CORRECT=1 $prog -n -E 'foo\n' > out || fail=1
[all …]
Dprintenv.sh31 env -- printenv | grep -Ev '^(_|LD_PRELOAD)=' > out || fail=1
32 compare exp out || fail=1
42 returns_ 1 env -- printenv ENV_TEST > out || fail=1
43 compare /dev/null out || fail=1
45 ENV_TEST=a env -- printenv ENV_TEST > out || fail=1
46 compare exp 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
59 compare exp out || fail=1
63 returns_ 1 env -- printenv ENV_TEST2 ENV_TEST1 > out || fail=1
[all …]
Drealpath.sh74 out=$(realpath -sm --relative-base=/usr --relative-to=/usr /tmp /usr) || fail=1
75 test "$out" = "/tmp$nl." || fail=1
76 out=$(realpath -sm --relative-base=/ --relative-to=/ / /usr) || fail=1
77 test "$out" = ".${nl}usr" || fail=1
79 out=$(realpath -sm --relative-base=/usr /tmp /usr) || fail=1
80 test "$out" = "/tmp$nl." || fail=1
81 out=$(realpath -sm --relative-base=/ / /usr) || fail=1
82 test "$out" = ".${nl}usr" || fail=1
85 out=$(realpath -sm --relative-base=/usr/local --relative-to=/usr \
87 test "$out" = "/usr${nl}/usr/local" || fail=1
[all …]
/coreutils/tests/csplit/
Dcsplit.sh25 csplit in '/^$/' 2 > out || fail=1
31 compare exp out || fail=1
32 rm -f in out exp
37 cp xx02 out || fail=1
38 compare exp out || fail=1
39 rm -f in out exp
43 csplit in '/a/-1' '{*}' > out || fail=1
48 compare exp out || fail=1
49 rm -f in out exp
53 csplit in 1 1 > out 2> err || fail=1
[all …]
/coreutils/tests/dd/
Dsparse.sh32 dd if=file.in bs=1 conv=sparse oflag=append > out
33 compare exp out || fail=1
37 printf '____' > out
39 dd if=file.in bs=1 conv=sparse,notrunc of=out
40 compare exp out || fail=1
43 dd if=file.in bs=1 conv=sparse | cat > file.out
44 cmp file.in file.out || fail=1
65 dd if=file.in of=file.out ibs=1M obs=2M conv=sparse || fail=1
68 sync file.out || framework_failure_
69 test 2500 -lt $(kb_alloc file.out) || fail=1
[all …]
/coreutils/tests/sort/
Dsort-debug-warn.sh84 echo 1 >> out
85 sort -s -k2,1 --debug /dev/null 2>>out || fail=1
86 echo 2 >> out
87 sort -s -k2,1n --debug /dev/null 2>>out || fail=1
88 echo 3 >> out
89 sort -s -k1,2n --debug /dev/null 2>>out || fail=1
90 echo 4 >> out
91 sort -s -rRVMhgb -k1,1n --debug /dev/null 2>>out || fail=1
92 echo 5 >> out
93 sort -rRVMhgb -k1,1n --debug /dev/null 2>>out || fail=1
[all …]
/coreutils/tests/cp/
Dfail-perm.sh44 cp F symlink 2> out && fail=1
49 sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out
50 compare exp out || fail=1
52 cp --no-target-directory F symlink 2> out && fail=1
53 sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out
54 compare exp out || fail=1
60 cp --target-directory=symlink F 2> out && fail=1
61 sed 's/: The file access permissions.*/: Permission denied/'<out>o1;mv o1 out
62 compare exp out || fail=1
Dinto-self.sh31 cp -R dir dir 2> out && fail=1
32 echo 1 >> out
35 cp -rl dir dir 2>> out && fail=1
36 echo 2 >> out
38 cp -rl a dir dir 2>> out && fail=1
39 echo 3 >> out
40 cp -rl a dir dir 2>> out && fail=1
41 echo 4 >> out
55 compare exp out || fail=1
/coreutils/tests/cksum/
Dcksum.sh31 cksum in > out || fail=1
33 compare exp out || fail=1
40 cksum in > out || fail=1
42 compare exp out || fail=1
50 cksum in > out || fail=1
52 compare exp out || fail=1
60 cksum in > out || fail=1
62 compare exp out || fail=1
70 cksum in > out || fail=1
72 compare exp out || fail=1
/coreutils/tests/ls/
Dcolor-dtype-dir.sh33 TERM=xterm ls --color=always > out || fail=1
34 cat -A out > o1 || framework_failure_
35 mv o1 out || framework_failure_
40 out$
44 compare exp out || fail=1
51 LS_COLORS="ow=:" ls --color=always > out || fail=1
52 cat -A out > o1 || fail=1
53 mv o1 out || fail=1
58 out$
62 compare exp out || fail=1
/coreutils/tests/id/
Dsmack.sh25 id > out || fail=1
26 grep 'context=' out || { cat out; fail=1; }
29 POSIXLY_CORRECT=1 id > out || fail=1
30 grep 'context=' out && fail=1
34 id -nu > /dev/null && id $(id -nu) > out
35 grep 'context=' out && fail=1

12345678910>>...13